removed dependency from kotlin

This commit is contained in:
2020-04-26 21:47:45 +01:00
parent 33aed799c0
commit 01ac499e59
2 changed files with 12 additions and 34 deletions

View File

@@ -1,18 +1,11 @@
plugins { plugins {
// Apply the Kotlin JVM plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.3.70"
// Apply the java-library plugin for API and implementation separation.
`java-library` `java-library`
application
} }
group = "net.woggioni" group = "net.woggioni"
version = "0.1" version = "0.1"
repositories { repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenLocal() mavenLocal()
jcenter() jcenter()
mavenCentral() mavenCentral()
@@ -21,14 +14,6 @@ repositories {
fun property(name : String) = project.property(name).toString() fun property(name : String) = project.property(name).toString()
dependencies { dependencies {
// Align versions of all Kotlin components
compileOnly(platform("org.jetbrains.kotlin:kotlin-bom"))
testImplementation(platform("org.jetbrains.kotlin:kotlin-bom"))
// Use the Kotlin JDK 8 standard library.
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("net.java.dev.jna", "jna", property("jna.version")) implementation("net.java.dev.jna", "jna", property("jna.version"))
// https://mvnrepository.com/artifact/org.projectlombok/lombok // https://mvnrepository.com/artifact/org.projectlombok/lombok
@@ -40,12 +25,6 @@ dependencies {
testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine", property("junit.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-api", property("junit.version"))
testImplementation("org.junit.jupiter","junit-jupiter-params", property("junit.version")) testImplementation("org.junit.jupiter","junit-jupiter-params", property("junit.version"))
testImplementation("net.woggioni", "jwo", "1.0")
}
application {
mainClassName = "net.woggioni.kzstd.HelloWorld"
} }

View File

@@ -17,7 +17,9 @@ import java.security.MessageDigest;
import java.util.stream.Stream; import java.util.stream.Stream;
class InputStreamProvider implements ArgumentsProvider { public class BasicTest {
private static class InputStreamProvider implements ArgumentsProvider {
@Override @Override
@SneakyThrows @SneakyThrows
@@ -29,9 +31,6 @@ class InputStreamProvider implements ArgumentsProvider {
} }
} }
public class BasicTest {
@SneakyThrows @SneakyThrows
@ParameterizedTest @ParameterizedTest
@ArgumentsSource(InputStreamProvider.class) @ArgumentsSource(InputStreamProvider.class)