Attempt 2.3

This commit is contained in:
Michael Hillcox 2020-11-20 17:55:16 +00:00
parent 08b1ac049a
commit 99c8aa4a9d
No known key found for this signature in database
GPG key ID: 971C5B254742488F

View file

@ -13,7 +13,6 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'idea'
apply plugin: 'maven-publish'
version = "1.12.2-r152"
group = "de.ellpeck.actuallyadditions"
@ -25,11 +24,9 @@ if (System.getenv('BUILD_NUMBER') != null) {
minecraft {
version = "1.12.2-14.23.5.2836"
mappings = "stable_39"
runDir = "run"
mappings = "stable_39"
makeObfSourceJar = false
replaceIn "ActuallyAdditions.java"
replace "@VERSION@", project.version.toString()
}
@ -58,6 +55,7 @@ processResources {
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.version, 'mcversion': project.minecraft.version
}
@ -66,7 +64,9 @@ processResources {
}
}
jar {}
jar {
}
task deobfJar(type: Jar) {
from sourceSets.main.output
@ -95,13 +95,6 @@ task sourcesJar(type: Jar) {
classifier = 'sources'
}
artifacts {
archives deobfJar
archives sourcesJar
archives apiJar
archives javadocJar
}
apply plugin: 'maven-publish'
publishing {