Prepared version porting, wip snapshot.

This commit is contained in:
stfwi 2019-06-23 16:27:42 +02:00
parent 792bdce3e1
commit feb6f8bb1e
16 changed files with 610 additions and 14 deletions

View file

@ -12,6 +12,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
//-----------------------------------------------------------------------------
version = "${version_engineersdecor}"
@ -77,3 +78,21 @@ jar {
])
}
}
def reobfFile = file("$buildDir/reobfJar/output.jar")
def reobfArtifact = artifacts.add('default', reobfFile) {
type 'jar'
builtBy 'reobfJar'
}
publishing {
publications {
mavenJava(MavenPublication) {
artifact reobfArtifact
}
}
repositories {
maven {
url "file:///${project.projectDir}/mcmodsrepo"
}
}
}