added input stream and basic unit test, removed kotlin code
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This generated file contains a sample Kotlin library project to get you started.
|
||||
*/
|
||||
|
||||
fun property(name : String) = project.property(name).toString()
|
||||
|
||||
plugins {
|
||||
// Apply the Kotlin JVM plugin to add support for Kotlin.
|
||||
id("org.jetbrains.kotlin.jvm") version "1.3.70"
|
||||
@@ -15,6 +7,9 @@ plugins {
|
||||
application
|
||||
}
|
||||
|
||||
group = "net.woggioni"
|
||||
version = "0.1"
|
||||
|
||||
repositories {
|
||||
// Use jcenter for resolving dependencies.
|
||||
// You can declare any Maven/Ivy/file repository here.
|
||||
@@ -23,6 +18,8 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
fun property(name : String) = project.property(name).toString()
|
||||
|
||||
dependencies {
|
||||
// Align versions of all Kotlin components
|
||||
compileOnly(platform("org.jetbrains.kotlin:kotlin-bom"))
|
||||
@@ -32,8 +29,8 @@ dependencies {
|
||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
|
||||
implementation("net.java.dev.jna", "jna", "5.5.0")
|
||||
|
||||
implementation("net.java.dev.jna", "jna", property("jna.version"))
|
||||
|
||||
// https://mvnrepository.com/artifact/org.projectlombok/lombok
|
||||
compileOnly("org.projectlombok", "lombok", property("lombok.version"))
|
||||
annotationProcessor("org.projectlombok", "lombok", property("lombok.version"))
|
||||
@@ -42,6 +39,7 @@ dependencies {
|
||||
testAnnotationProcessor("org.projectlombok", "lombok", property("lombok.version"))
|
||||
testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine", property("junit.version"))
|
||||
testImplementation("org.junit.jupiter","junit-jupiter-api", property("junit.version"))
|
||||
testImplementation("org.junit.jupiter","junit-jupiter-params", property("junit.version"))
|
||||
testImplementation("net.woggioni", "jwo", "1.0")
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user