aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorbush-did-711 <39170869+bush-did-711@users.noreply.github.com>2022-03-26 23:17:00 -1000
committerbush-did-711 <39170869+bush-did-711@users.noreply.github.com>2022-03-26 23:17:00 -1000
commit2a32d5ee4f2eb9e64ffb3d36ed16793dc72c24b2 (patch)
tree6a657d92f5aa112bed14d65132b9c8a6d7e6c96d /build.gradle.kts
downloadeventbus-kotlin-2a32d5ee4f2eb9e64ffb3d36ed16793dc72c24b2.tar.gz
eventbus-kotlin-2a32d5ee4f2eb9e64ffb3d36ed16793dc72c24b2.tar.bz2
eventbus-kotlin-2a32d5ee4f2eb9e64ffb3d36ed16793dc72c24b2.zip
Initial commit
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts31
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