summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-10-08 12:27:55 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-10-08 12:27:55 +0200
commit323e08712336ae3b7ef01fc5c5f813cb8182ab50 (patch)
tree522970bcc12da850a8c502b361d950634e1c0812 /build.gradle
parent0f7962af1566a37684ec31093e9964b0b9ad1569 (diff)
downloadlibeufin-323e08712336ae3b7ef01fc5c5f813cb8182ab50.tar.gz
libeufin-323e08712336ae3b7ef01fc5c5f813cb8182ab50.tar.bz2
libeufin-323e08712336ae3b7ef01fc5c5f813cb8182ab50.zip
init nexus
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle81
1 files changed, 35 insertions, 46 deletions
diff --git a/build.gradle b/build.gradle
index 06b813fc..9d2da2c7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,59 +1,48 @@
plugins {
- id 'java'
- id 'application'
- id 'org.jetbrains.kotlin.jvm' version '1.3.50'
+ id "org.jetbrains.kotlin.jvm" version "1.3.50"
}
-version '1.0-SNAPSHOT'
+allprojects {
-sourceCompatibility = 1.8
-targetCompatibility = 1.8
-
-repositories {
- mavenCentral()
- jcenter()
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- implementation "io.ktor:ktor-gson:1.1.5"
- // compile group: 'io.ktor', name: 'ktor-gson', version: '0.9.0'
- compile "org.jetbrains.exposed:exposed:0.17.3"
- compile "io.ktor:ktor-server-netty:1.2.4"
- compile "ch.qos.logback:logback-classic:1.2.3"
- compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
- compile('javax.xml.bind:jaxb-api:2.3.0')
- compile('javax.activation:activation:1.1')
- compile('org.glassfish.jaxb:jaxb-runtime:2.3.0')
- testCompile group: 'junit', name: 'junit', version: '4.12'
-}
-
-compileKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
- }
-}
-compileTestKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
+ repositories {
+ mavenCentral()
+ jcenter()
}
}
-application {
- mainClassName = "tech.libeufin.MainKt"
-}
+subprojects {
-jar {
- manifest {
- attributes "Main-Class": "tech.libeufin.MainKt"
+ version '1.0-SNAPSHOT'
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+ compileKotlin {
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
}
- from {
- configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
+ compileTestKotlin {
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
}
-}
-test {
- useJUnit()
-}
+ apply plugin : "application"
+ apply plugin : "java"
+
+ dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
+ implementation "io.ktor:ktor-gson:1.1.5"
+ compile group: 'io.ktor', name: 'ktor-gson', version: '0.9.0'
+ compile "org.jetbrains.exposed:exposed:0.17.3"
+ compile "io.ktor:ktor-server-netty:1.2.4"
+ compile "ch.qos.logback:logback-classic:1.2.3"
+ compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
+ compile "javax.xml.bind:jaxb-api:2.3.0"
+ compile "javax.activation:activation:1.1"
+ compile "org.glassfish.jaxb:jaxb-runtime:2.3.0"
+ testCompile group: 'junit', name: 'junit', version: '4.12'
+ }
+
+} \ No newline at end of file