Skip to content

Commit

Permalink
bump cleanroom 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb authored May 20, 2024
1 parent db67e4c commit 9ee1002
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,24 @@ setDefaultProperty 'mapping_version', true, '39'

buildscript {
repositories {
if (project.use_mirror == 'true') {
// clear all proxy settings, this is available for global
System.clearProperty "http.proxyHost"
System.clearProperty "http.proxyPort"
System.clearProperty "https.proxyHost"
System.clearProperty "https.proxyPort"
System.clearProperty "socksProxyHost"
System.clearProperty "socksProxyPort"
System.setProperty "java.net.useSystemProxies", "false"

maven { url "https://maven.aliyun.com/nexus/content/groups/public" }
maven { url "https://${mirror_maven_url}" }
}
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://maven.outlands.top/releases' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public' }
mavenCentral()
gradlePluginPortal()
if (project.use_mirror == 'true') {
//use mirror maven later, but try orgin for fail trying
maven { url "https://maven.aliyun.com/nexus/content/groups/public" }
maven { url "https://${mirror_maven_url}" }
}
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '6.10.+', changing: true
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
org.gradle.jvmargs = -Xmx3G

java_version = 21
cleanroom_version=0.2.0-alpha+
cleanroom_version=0.2.1-alpha+

# Mapping Properties
mapping_channel= stable
Expand Down

0 comments on commit 9ee1002

Please sign in to comment.