From d423203d960e6e2340798f00f907d2b1271c3d89 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 8 Jun 2023 03:47:38 +0200 Subject: Use kotlin buildscript --- buildSrc/build.gradle.kts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 buildSrc/build.gradle.kts (limited to 'buildSrc/build.gradle.kts') 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 -- cgit