Skip to content

Commit

Permalink
upload all jars to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed May 20, 2016
1 parent 29573ff commit 8ac1485
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ archivesBaseName = "forestry_" + mcversion
ext.dirDest = './build/dist'
ext.dirLang = "./lang"

ext.apiForestry = "./api/forestry"
ext.apiRedstoneFlux = "./api/redstoneflux"

// java version
sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand All @@ -51,9 +48,7 @@ minecraft {
sourceSets {
main {
java {
srcDir project.apiForestry
srcDir project.apiRedstoneFlux
srcDir "./api/buildcraft"

}
resources {
srcDir project.dirLang
Expand Down Expand Up @@ -139,13 +134,6 @@ uploadArchives {
if (project.hasProperty('mavenDir')) {
mavenDeployer {
repository(url: "file://"+mavenDir)

addFilter('api') { artifact, file ->
file == apiJar.archivePath
}
addFilter('sources') { artifact, file ->
file == sourcesJar.archivePath
}
}
} else {
println 'Archives upload disabled, mavenDir in gradle.properties is missing.'
Expand Down

0 comments on commit 8ac1485

Please sign in to comment.