diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..b882228 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,31 @@ +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + +plugins { + kotlin("jvm") version "1.6.10" +} + +group = "me.bush" +version = "1.0.0" + +repositories { + mavenCentral() +} + +dependencies { + testImplementation(kotlin("test")) + + // Staying on the version used by 1.12.2 to avoid possible incompatibilities. + // 2.15.0 is not vulnerable to any RCE exploits. + implementation("org.apache.logging.log4j:log4j-api:2.15.0") + implementation("org.apache.logging.log4j:log4j-core:2.15.0") + + implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.10") +} + +tasks.test { + useJUnitPlatform() +} + +tasks.withType<KotlinCompile> { + kotlinOptions.jvmTarget = "1.8" +}
\ No newline at end of file |