Updated changelog and modified the build gradle for jenkins

This commit is contained in:
Michael Hillcox 2020-11-20 16:58:55 +00:00
parent e0c3024400
commit 45bbe23f5a
No known key found for this signature in database
GPG key ID: 971C5B254742488F
2 changed files with 39 additions and 18 deletions

View file

@ -13,6 +13,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'idea'
apply plugin: 'maven-publish'
version = "1.12.2-r152"
group = "de.ellpeck.actuallyadditions"
@ -67,18 +68,21 @@ processResources {
jar {
}
task deobfJar(type: Jar) {
from sourceSets.main.output
from sourceSets.main.java
classifier = 'dev'
from(sourceSets.main.output)
archiveName = "${baseName}-${version}-deobf.${extension}"
}
task sourcesJar(type: Jar) {
from(sourceSets.main.allSource)
archiveName = "${baseName}-${version}-sources.${extension}"
}
task apiJar(type: Jar) {
from sourceSets.main.output
from sourceSets.main.java
classifier = 'api'
include 'de/ellpeck/actuallyadditions/api/**'
from(sourceSets.main.output)
from(sourceSets.main.java)
include("de/ellpeck/actuallyadditions/api/**")
archiveName = "${baseName}-${version}-api.${extension}"
}
javadoc {
@ -90,21 +94,36 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
classifier 'javadoc'
}
task sourcesJar(type: Jar) {
from sourceSets.main.java
classifier = 'sources'
artifacts {
archives deobfJar
archives sourcesJar
archives apiJar
archives javadocJar
}
apply plugin: 'maven-publish'
publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
artifact apiJar
artifact javadocJar
artifact sourcesJar
artifact deobfJar
groupId project.group
artifactId project.archivesBaseName
version project.version
from components.java
artifact deobfJar {
classifier 'deobf'
}
artifact sourcesJar {
classifier 'sources'
}
artifact apiJar {
classifier 'api'
}
pom.withXml {
def node = asNode()
if (node.dependencies.size() > 0)
node.remove(node.dependencies)
}
}
}
repositories {

View file

@ -1,5 +1,7 @@
# 1.12.2-r152
* CrankySupertoon: Fixed Crystal Flux Localization
* Falcion: Updated russian translation
* Jammehcow: Fixed a rare NPE with other mods on the worm entity
# 1.12.2-r151
* TomyLobo: Improved performance of the item interface.