update build

This commit is contained in:
bombcar committed 2021-12-02 16:07:30 -06:00
1 parent 36d031e756
commit 874a99e8c5
1 file changed
+22 -16
+22 -16
View File
@@ -3,15 +3,18 @@ buildscript {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
url = "https://maven.minecraftforge.net"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
url = "https://jitpack.io"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.4'
}
}
@@ -21,7 +24,8 @@ plugins {
apply plugin: 'forge'
apply plugin: 'java'
compileJava {
compileJava {
options.compilerArgs << '-Xlint:unchecked'
}
@@ -42,25 +46,27 @@ repositories {
name "Mobius Repo"
url "http://mobiusstrip.eu/maven"
}
maven {
name "CB Repo"
url "http://chickenbones.net/maven"
}
maven {
name "ic2"
url "http://maven.ic2.player.to/"
}
maven {
name = "gt"
url = "http://gregtech.overminddl1.com/"
name "gt"
url "https://gregtech.overminddl1.com/"
}
maven {
name "jitpack"
url "https://jitpack.io"
}
maven {
url "https://cursemaven.com"
}
}
dependencies {
compile "mcp.mobius.waila:Waila:1.5.10_1.7.10"
compile "net.industrial-craft:industrialcraft-2:2.2.828-experimental:api"
compile "thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev"
implementation 'com.github.GTNewHorizons:waila:master-SNAPSHOT'
implementation "net.industrial-craft:industrialcraft-2:2.2.828-experimental:api"
implementation "thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev"
}
processResources
@@ -77,7 +83,7 @@ processResources
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, thats not the mcmod.info
// copy everything else that is not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
@@ -85,7 +91,7 @@ processResources
jar {
manifest {
attributes 'FMLCorePlugin': 'thaumicenergistics.fml.ThECore',
'FMLCorePluginContainsFMLMod': 'true'
attributes 'FMLCorePlugin': 'thaumicenergistics.fml.ThECore',
'FMLCorePluginContainsFMLMod': 'true'
}
}