mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-25 08:28:34 +01:00
Attempt 2.3
This commit is contained in:
parent
08b1ac049a
commit
99c8aa4a9d
1 changed files with 12 additions and 19 deletions
17
build.gradle
17
build.gradle
|
@ -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"
|
||||||
|
mappings = "stable_39"
|
||||||
makeObfSourceJar = false
|
makeObfSourceJar = false
|
||||||
|
|
||||||
replaceIn "ActuallyAdditions.java"
|
replaceIn "ActuallyAdditions.java"
|
||||||
replace "@VERSION@", project.version.toString()
|
replace "@VERSION@", project.version.toString()
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue