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: 'net.minecraftforge.gradle.forge'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'maven-publish'
version = "1.12.2-r152" version = "1.12.2-r152"
group = "de.ellpeck.actuallyadditions" group = "de.ellpeck.actuallyadditions"
@ -25,11 +24,9 @@ if (System.getenv('BUILD_NUMBER') != null) {
minecraft { minecraft {
version = "1.12.2-14.23.5.2836" version = "1.12.2-14.23.5.2836"
mappings = "stable_39"
runDir = "run" runDir = "run"
makeObfSourceJar = false mappings = "stable_39"
makeObfSourceJar = false
replaceIn "ActuallyAdditions.java" replaceIn "ActuallyAdditions.java"
replace "@VERSION@", project.version.toString() replace "@VERSION@", project.version.toString()
} }
@ -38,17 +35,17 @@ repositories {
maven { maven {
url "https://dvs1.progwml6.com/files/maven" url "https://dvs1.progwml6.com/files/maven"
} }
maven { maven {
url "https://maven.tehnut.info" url "https://maven.tehnut.info"
} }
maven { maven {
url "https://dl.bintray.com/cyclopsmc/dev/" url "https://dl.bintray.com/cyclopsmc/dev/"
} }
} }
dependencies { dependencies {
deobfCompile "mezz.jei:jei_1.12.2:+" deobfCompile "mezz.jei:jei_1.12.2:+"
deobfCompile "mcp.mobius.waila:Hwyla:1.8+" deobfCompile "mcp.mobius.waila:Hwyla:1.8+"
deobfCompile ("org.cyclops.commoncapabilities:CommonCapabilities:1.12.2-+") deobfCompile ("org.cyclops.commoncapabilities:CommonCapabilities:1.12.2-+")
} }
@ -58,6 +55,7 @@ processResources {
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info' include 'mcmod.info'
expand 'version': project.version, 'mcversion': project.minecraft.version expand 'version': project.version, 'mcversion': project.minecraft.version
} }
@ -66,7 +64,9 @@ processResources {
} }
} }
jar {} jar {
}
task deobfJar(type: Jar) { task deobfJar(type: Jar) {
from sourceSets.main.output from sourceSets.main.output
@ -95,13 +95,6 @@ task sourcesJar(type: Jar) {
classifier = 'sources' classifier = 'sources'
} }
artifacts {
archives deobfJar
archives sourcesJar
archives apiJar
archives javadocJar
}
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
publishing { publishing {