aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-08 03:47:38 +0200
committernea <nea@nea.moe>2023-06-08 03:47:38 +0200
commitd423203d960e6e2340798f00f907d2b1271c3d89 (patch)
tree007846bff6390c7f3648f8a5b3ce5e071c024250 /buildSrc/build.gradle.kts
parentf6b449e65d050b321abf0e54826ec48c0d993b2a (diff)
downloadNoSession-d423203d960e6e2340798f00f907d2b1271c3d89.tar.gz
NoSession-d423203d960e6e2340798f00f907d2b1271c3d89.tar.bz2
NoSession-d423203d960e6e2340798f00f907d2b1271c3d89.zip
Use kotlin buildscript
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts23
1 files changed, 23 insertions, 0 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
new file mode 100644
index 0000000..d3aea12
--- /dev/null
+++ b/buildSrc/build.gradle.kts
@@ -0,0 +1,23 @@
+plugins {
+ `kotlin-dsl`
+ java
+}
+
+repositories {
+ mavenCentral()
+ maven("https://maven.minecraftforge.net")
+ maven("https://jitpack.io") {
+ mavenContent {
+ includeGroupByRegex("(com|io)\\.github\\..+")
+ }
+ }
+ mavenLocal()
+}
+
+val kotlin_version = "1.8.21"
+
+dependencies {
+ implementation("com.github.thefightagainstmalware:ForgeGradle:5a1fcb9")
+ implementation("com.github.thefightagainstmalware:MixinGradle:92e66fe")
+ implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
+} \ No newline at end of file