diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2022-09-26 00:29:41 -0700 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2022-09-26 00:29:41 -0700 |
commit | cda06cf996cb8a0df2340b14b2a43d5a2a6ab13a (patch) | |
tree | 10b53d9f4f94e7b37253ee635c7942ce5360f656 /build.gradle | |
parent | 6d01463c32ea14f48ce273e9daf753905f101946 (diff) | |
download | Iceberg-cda06cf996cb8a0df2340b14b2a43d5a2a6ab13a.tar.gz Iceberg-cda06cf996cb8a0df2340b14b2a43d5a2a6ab13a.tar.bz2 Iceberg-cda06cf996cb8a0df2340b14b2a43d5a2a6ab13a.zip |
Added support for Configured 2.x.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 26 |
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"],) } } |