aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle26
1 files changed, 9 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle
index 2d142c6..6a8004c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,7 +14,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'eclipse'
-archivesBaseName = project.name + '-' + project.mcVersion
+archivesBaseName = project.name + '-' + project.mcVersion + '-forge'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
@@ -41,14 +41,6 @@ minecraft {
}
}
-sourceSets {
- main {
- resources {
- srcDir 'src/generated/resources'
- }
- }
-}
-
repositories {
maven {
name "CurseMaven"
@@ -60,18 +52,18 @@ dependencies {
minecraft "net.minecraftforge:forge:${project.mcVersion}-${project.forgeVersion}"
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
compileClasspath fg.deobf('curse.maven:configmenusforge-544048:3570070')
- compileClasspath fg.deobf('curse.maven:configured-457570:3872190')
+ compileClasspath fg.deobf(files('lib/configured-2.0.0-1.19.2.jar'))
}
jar {
manifest {
- attributes(["Specification-Title": project.name,
- "Specification-Vendor": project.author,
- "Specification-Version": project.version,
- "Implementation-Title": project.name,
- "Implementation-Version": project.version,
- "Implementation-Vendor" : project.author,
+ attributes(["Specification-Title": project.name,
+ "Specification-Vendor": project.author,
+ "Specification-Version": project.version,
+ "Implementation-Title": project.name,
+ "Implementation-Version": project.version,
+ "Implementation-Vendor" : project.author,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
- "MixinConfigs": "${project.name.toLowerCase()}.mixins.json"],)
+ "MixinConfigs": "${project.name.toLowerCase()}.mixins.json"],)
}
}