|
@@ -13,9 +13,9 @@ buildscript {
|
|
|
apply plugin: 'net.minecraftforge.gradle'
|
|
|
apply plugin: 'com.matthewprenger.cursegradle'
|
|
|
|
|
|
-version = "${version_minecraft}-${mod_version}"
|
|
|
+version = "${mod_version}"
|
|
|
group = "${mod_group}"
|
|
|
-archivesBaseName = "${mod_id}"
|
|
|
+archivesBaseName = "${mod_id}-forge"
|
|
|
|
|
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
|
|
|
|
|
@@ -30,7 +30,7 @@ minecraft {
|
|
|
property 'forge.logging.console.level', 'debug'
|
|
|
|
|
|
mods {
|
|
|
- cakechomps {
|
|
|
+ customfov {
|
|
|
source sourceSets.main
|
|
|
}
|
|
|
}
|
|
@@ -43,7 +43,7 @@ minecraft {
|
|
|
property 'forge.logging.console.level', 'debug'
|
|
|
|
|
|
mods {
|
|
|
- cakechomps {
|
|
|
+ customfov {
|
|
|
source sourceSets.main
|
|
|
}
|
|
|
}
|
|
@@ -67,16 +67,16 @@ jar {
|
|
|
manifest {
|
|
|
attributes(["Specification-Title": "${mod_name}",
|
|
|
"Specification-Vendor": "${mod_author}",
|
|
|
- "Specification-Version": "${version}",
|
|
|
+ "Specification-Version": "${getArchiveVersion()}",
|
|
|
"Implementation-Title": "${mod_name}",
|
|
|
- "Implementation-Version": "${version}",
|
|
|
+ "Implementation-Version": "${getArchiveVersion()}",
|
|
|
"Implementation-Vendor" :"${mod_author}",
|
|
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
task sourcesJar(type: Jar) {
|
|
|
- classifier = 'sources'
|
|
|
+ archiveClassifier.set('sources')
|
|
|
from sourceSets.main.allJava
|
|
|
}
|
|
|
|