File tree 6 files changed +34
-11
lines changed
6 files changed +34
-11
lines changed Original file line number Diff line number Diff line change @@ -51,3 +51,7 @@ local.properties
51
51
52
52
.DS_Store
53
53
# /libs/
54
+
55
+ # don't push local Ponder
56
+ .gitmodules
57
+ Ponder /
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ repositories {
97
97
maven(" https://jm.gserv.me/repository/maven-public/" ) // Journey map
98
98
}
99
99
100
+ val ponder = file(" Ponder" )
101
+
100
102
dependencies {
101
103
// setup
102
104
minecraft(" com.mojang:minecraft:$minecraftVersion " )
@@ -118,11 +120,17 @@ dependencies {
118
120
modApi(include(" com.electronwill.night-config:toml:$nightConfigVersion " )!! )
119
121
modApi(include(" fuzs.forgeconfigapiport:forgeconfigapiport-fabric:$configApiVersion " )!! )
120
122
modApi(include(" dev.engine-room.flywheel:flywheel-fabric-$minecraftVersion :$flywheelVersion " )!! )
121
- modApi(include(" net.createmod.ponder:Ponder-Fabric-$minecraftVersion :$ponderVersion " )!! )
122
123
modApi(include(" com.jamieswhiteshirt:reach-entity-attributes:$reaVersion " )!! )
123
124
modApi(include(" io.github.tropheusj:milk-lib:$milkLibVersion " )!! )
124
125
api(include(" com.google.code.findbugs:jsr305:$jsr305Version " )!! )
125
126
127
+ if (ponder.exists()) {
128
+ implementation(" net.createmod.ponder:Ponder-Fabric-$minecraftVersion :$ponderVersion " )
129
+ implementation(" net.createmod.ponder:Ponder-Common-$minecraftVersion :$ponderVersion " )
130
+ } else {
131
+ modApi(include(" net.createmod.ponder:Ponder-Fabric-$minecraftVersion :$ponderVersion " )!! )
132
+ }
133
+
126
134
// compat
127
135
modCompileOnly(" cc.tweaked:cc-tweaked-$minecraftVersion -fabric-api:$ccVersion " )
128
136
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs = -Xmx3G
2
2
org.gradle.parallel = true
3
3
org.gradle.caching = true
4
- org.gradle.configuration-cache =true
4
+ # FIXME: ponder is incompatible with it
5
+ org.gradle.configuration-cache =false
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11 .1-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 .1-bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ pluginManagement {
2
+ repositories {
3
+ maven(" https://maven.fabricmc.net/" )
4
+ gradlePluginPortal()
5
+ }
6
+ }
7
+
8
+ enableFeaturePreview(" STABLE_CONFIGURATION_CACHE" )
9
+
10
+ if (file(" Ponder" ).exists()) {
11
+ includeBuild(" ." )
12
+ includeBuild(" Ponder" ) {
13
+ dependencySubstitution {
14
+ substitute(module(" net.createmod.ponder:Ponder-Fabric-1.20.1" )).using(project(" :Fabric" ))
15
+ substitute(module(" net.createmod.ponder:Ponder-Common-1.20.1" )).using(project(" :Common" ))
16
+ }
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments