...
This commit is contained in:
parent
ea5b9a3bc7
commit
a4aa18f0fc
1 changed files with 6 additions and 10 deletions
16
build.gradle
16
build.gradle
|
@ -16,14 +16,6 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
deployJars {
|
||||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: "maven"
|
||||
apply plugin: "forge"
|
||||
|
||||
|
@ -142,13 +134,17 @@ task deobfJar(type: Jar) {
|
|||
appendix = 'deobf'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
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