mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 22:59:23 +01:00
commit
59ecaf969f
2 changed files with 24 additions and 0 deletions
24
build.gradle
24
build.gradle
|
@ -15,6 +15,10 @@ version = "b2"
|
|||
group = "de.ellpeck.naturesaura"
|
||||
archivesBaseName = "NaturesAura"
|
||||
|
||||
if(hasProperty('buildnumber')){
|
||||
version = "${version}-${this.properties['buildnumber']}"
|
||||
}
|
||||
|
||||
sourceCompatibility = targetCompatibility = '1.8'
|
||||
compileJava {
|
||||
sourceCompatibility = targetCompatibility = '1.8'
|
||||
|
@ -66,3 +70,23 @@ processResources {
|
|||
exclude 'mcmod.info'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
jar {
|
||||
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
artifact jar
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
// url "file:///srv/nginx/maven"
|
||||
url "file:///tmp/maven"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
0
gradlew
vendored
Normal file → Executable file
0
gradlew
vendored
Normal file → Executable file
Loading…
Reference in a new issue