commit 66e46bd3b4824458ddcf537616670dec7ee58f8c
parent 81901d7b151ff9535e277f0588b1b59a116e1ee8
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 12 Dec 2019 14:48:13 +0100
shared module skeleton
Diffstat:
3 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/nexus/src/test/kotlin/ImportTest.kt b/nexus/src/test/kotlin/ImportTest.kt
@@ -0,0 +1,12 @@
+package tech.libeufin.nexus
+
+import org.junit.Test
+import tech.libeufin.util.IMPORT
+
+class ImportTest {
+
+ @Test
+ fun importTest() {
+ println(IMPORT)
+ }
+}
+\ No newline at end of file
diff --git a/util/build.gradle b/util/build.gradle
@@ -0,0 +1,49 @@
+plugins {
+ id 'java'
+ id 'org.jetbrains.kotlin.jvm' version '1.3.50'
+ id 'application'
+}
+
+
+sourceCompatibility = "11"
+targetCompatibility = "11"
+version '1.0-snapshot'
+
+
+compileKotlin {
+
+ kotlinOptions {
+ jvmTarget = "11"
+ }
+}
+
+compileTestKotlin {
+ kotlinOptions {
+ jvmTarget = "11"
+ }
+}
+
+sourceSets {
+ main.java.srcDirs = ['src/main/java', 'src/main/kotlin']
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
+ implementation "io.ktor:ktor-gson:1.1.5"
+ implementation group: 'io.ktor', name: 'ktor-gson', version: '0.9.0'
+ implementation "org.jetbrains.exposed:exposed:0.17.6"
+ implementation "io.ktor:ktor-server-netty:1.2.4"
+ implementation "ch.qos.logback:logback-classic:1.2.3"
+ implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
+ implementation "javax.xml.bind:jaxb-api:2.3.0"
+ implementation group: 'xerces', name: 'xercesImpl', version: '2.6.2-jaxb-1.0.6'
+ implementation "javax.activation:activation:1.1"
+ implementation "org.glassfish.jaxb:jaxb-runtime:2.3.1"
+ implementation 'org.apache.santuario:xmlsec:2.1.4'
+ implementation group: 'org.bouncycastle', name: 'bcprov-jdk16', version: '1.45'
+ implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.28.0'
+
+ testImplementation group: 'junit', name: 'junit', version: '4.12'
+ testImplementation 'org.jetbrains.kotlin:kotlin-test-junit:1.3.50'
+ testImplementation 'org.jetbrains.kotlin:kotlin-test:1.3.50'
+}
diff --git a/util/src/main/kotlin/ImportTest.kt b/util/src/main/kotlin/ImportTest.kt
@@ -0,0 +1,3 @@
+package tech.libeufin.util
+
+const val IMPORT = "third party"
+\ No newline at end of file