...
This commit is contained in:
parent
a4aa18f0fc
commit
a3c98b24da
1 changed files with 9 additions and 3 deletions
12
build.gradle
12
build.gradle
|
@ -16,6 +16,10 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
deployJars
|
||||
}
|
||||
|
||||
apply plugin: "maven"
|
||||
apply plugin: "forge"
|
||||
|
||||
|
@ -135,9 +139,9 @@ task deobfJar(type: Jar) {
|
|||
}
|
||||
|
||||
artifacts {
|
||||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
deployJars sourceJar
|
||||
deployJars deobfJar
|
||||
deployJars apiJar
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
|
@ -145,6 +149,8 @@ uploadArchives {
|
|||
add getProject().repositories.mavenLocal()
|
||||
}
|
||||
repositories.mavenDeployer {
|
||||
configuration = configurations.deployJars
|
||||
|
||||
if (project.hasProperty("filesmaven")) {
|
||||
logger.info('Publishing to files server')
|
||||
repository(url: project.filesmaven.url) {
|
||||
|
|
Loading…
Reference in a new issue