aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-05-21 17:50:43 +0700
committerGitHub <noreply@github.com>2022-05-21 12:50:43 +0200
commitba87b8b1fa4e2397a3e0ed5a18f7ea6137d42f77 (patch)
treea052e7ac963be0f64980fc3faa664ebf20a52b34 /settings.gradle.kts
parent1abe65dc3875df5a490d8c900399e61a378ae901 (diff)
downloadOneConfig-ba87b8b1fa4e2397a3e0ed5a18f7ea6137d42f77.tar.gz
OneConfig-ba87b8b1fa4e2397a3e0ed5a18f7ea6137d42f77.tar.bz2
OneConfig-ba87b8b1fa4e2397a3e0ed5a18f7ea6137d42f77.zip
vigilance compat (#15)
* vigilance compat reorganize ASM * remove non-RenderManager nanovg usage wherever possible fix build generalize utils * setupGradle task * migrate to kotlin gradle use essential gradle toolkit shade new gson * Small changes * Update .gitignore * fix natives * Fix all problems * null Co-authored-by: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts34
1 files changed, 34 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
new file mode 100644
index 0000000..8cbfd4e
--- /dev/null
+++ b/settings.gradle.kts
@@ -0,0 +1,34 @@
+pluginManagement {
+ repositories {
+ gradlePluginPortal()
+ mavenCentral()
+ maven("https://repo.woverflow.cc")
+ }
+ plugins {
+ val egtVersion = "0.1.7"
+ id("gg.essential.multi-version.root") version egtVersion
+ }
+ resolutionStrategy {
+ eachPlugin {
+ if (requested.id.id == "io.github.juuxel.loom-quiltflower-mini") {
+ useModule("com.github.wyvest:loom-quiltflower-mini:${requested.version}")
+ }
+ }
+ }
+}
+
+val mod_name: String by settings
+
+rootProject.name = mod_name
+rootProject.buildFileName = "root.gradle.kts"
+
+listOf(
+ "1.8.9-forge"
+).forEach { version ->
+ include(":$version")
+ project(":$version").apply {
+ projectDir = file("versions/$version")
+ buildFileName = "../../build.gradle.kts"
+ }
+
+} \ No newline at end of file