diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..99a32f7 --- /dev/null +++ b/build.gradle @@ -0,0 +1,22 @@ +plugins { + id("org.jetbrains.kotlin.jvm") version "1.6.0" + id("java-library") +} + +repositories { + mavenCentral() +} + +dependencies { + testImplementation("org.jetbrains.kotlin:kotlin-test-junit5") +} + +tasks.named('test', Test) { + useJUnitPlatform() + + maxHeapSize = '1G' + + testLogging { + showStandardStreams = true + } +} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts deleted file mode 100644 index 3c64e93..0000000 --- a/build.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - -plugins { - kotlin("jvm") version "1.6.0" -} - -group = "org.sqidskotlin.sqids" -version = "1.0-SNAPSHOT" - -repositories { - mavenCentral() -} - -dependencies { - testImplementation(kotlin("test")) -} - -tasks.test { - useJUnitPlatform() -} - -tasks.withType { - kotlinOptions.jvmTarget = "1.8" -} \ No newline at end of file