Skip to content

Commit

Permalink
xplat: Switch from VanillaGradle to minivan (#4684)
Browse files Browse the repository at this point in the history
  • Loading branch information
quat1024 authored Jul 5, 2024
1 parent 3c111f5 commit 888272e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Xplat/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id('java')
id('org.spongepowered.gradle.vanilla') version '0.2.1-SNAPSHOT'
id('agency.highlysuspect.minivan') version '0.5'
}

archivesBaseName = "${mod_name}-xplat"
Expand All @@ -9,7 +9,7 @@ if (System.getenv().RELEASE_MODE == null) {
version += '-SNAPSHOT'
}

minecraft {
minivan {
version(minecraft_version)
accessWideners 'src/main/resources/botania_xplat.accesswidener'
}
Expand Down Expand Up @@ -46,6 +46,8 @@ dependencies {
compileOnly "mezz.jei:jei-1.20.1-common-api:15.2.0.27"
compileOnly "dev.emi:emi-xplat-mojmap:1.0.12+${minecraft_version}:api"

compileOnly "org.jetbrains:annotations:24.0.1"

// annotationProcessor 'com.blamejared.crafttweaker:Crafttweaker_Annotation_Processors-1.18.2:2.0.0.123'
// annotationProcessor 'com.blamejared.crafttweaker:CraftTweaker-common-1.18.2:9.1.123'
}
Expand Down
15 changes: 14 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,23 @@ pluginManagement {
maven {
name = 'Sponge Snapshots'
url = 'https://repo.spongepowered.org/repository/maven-public/'
}
maven {
name = 'Sleeping Town'
url = 'https://repo.sleeping.town/'
content {
includeGroup 'agency.highlysuspect'
includeGroup 'agency.highlysuspect.minivan'
}
}

gradlePluginPortal()
}
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = 'Botania'
include("Xplat", "Fabric", "Forge")

0 comments on commit 888272e

Please sign in to comment.