Skip to content

Commit

Permalink
refactor: bump Shared-Java to 1.0.2; add: CraftTweaker to libs;
Browse files Browse the repository at this point in the history
  • Loading branch information
MJaroslav committed May 27, 2024
1 parent 1328bc8 commit 80ab76c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
buildscript {
repositories {
mavenCentral()
maven {
name 'JitPack'
url 'https://jitpack.io'
}
maven {
name 'forge'
url 'https://maven.minecraftforge.net'
Expand All @@ -10,6 +14,7 @@ buildscript {
classpath('com.anatawa12.forge:ForgeGradle:1.2-1.1.+') {
changing = true
}
classpath 'com.github.MJaroslav:Bon2Gradle:0.5.+'
}
}

Expand All @@ -19,6 +24,7 @@ apply plugin: 'forge'
apply plugin: 'maven-publish'
apply from: 'https://raw.githubusercontent.com/tox1cozZ/mixin-booter-legacy/master/gradle/configurations/v1.gradle'
apply from: 'https://raw.githubusercontent.com/MJaroslav/MCInGameTester/master/gradle/configurations/v1.gradle'
apply plugin: 'bon2gradle'

repositories {
mavenCentral()
Expand All @@ -30,6 +36,16 @@ repositories {
name "Gregtech repo"
url 'https://gregtech.overminddl1.com'
}
maven {
name "CraftTweaker"
url "https://maven.blamejared.com/"
}
maven {
url 'https://cursemaven.com/'
content {
includeGroup 'curse.maven'
}
}
// FG adds forge maven before central and forge maven contains only poms of lombok, not jars.
exclusiveContent {
forRepository {
Expand Down Expand Up @@ -100,6 +116,7 @@ dependencies {
implementation "mcp.mobius.waila:Waila:1.5.11-RC2-NONEI_1.7.10:dev"
implementation "com.azanor.baubles:Baubles:1.7.10-1.0.1.10:deobf"
implementation "thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev"
implementation bon2.deobf("curse.maven:crafttweaker-239197:2838720")

compileOnly "org.jetbrains:annotations:${buildprop.jetbrains_annotations_version}"
testCompileOnly "org.jetbrains:annotations:${buildprop.jetbrains_annotations_version}"
Expand Down
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jabel_version=1.0.0
# JUnit
junit_version=4.13
# Shared Java
sharedjava_version=v1.+
sharedjava_version=1.0.2

0 comments on commit 80ab76c

Please sign in to comment.