Skip to content

Commit

Permalink
Next attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre601 committed Aug 8, 2020
1 parent c419f75 commit ec504ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ allprojects {
api group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.8.0'
api group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'

artifactId = (rootProject == project ? "JavaBotBlockAPI" : "JavaBotBlockAPI-$project.name").toLowerCase()
jarName = (rootProject == project ? "JavaBotBlockAPI" : "JavaBotBlockAPI-$project.name")
moduleName = "${group}.javabotblockapi${rootProject == project ? "" : ".${project.name.toLowerCase()}"}"
artifactId = (rootProject == project? project.name : "$rootProject.name-$project.name").toLowerCase()
moduleName = "${group}.javabotblockapi${rootProject == project? "" : ".${project.name.toLowerCase()}"}"
}


configureJar = { Object jarConfig, String classifier = '' ->
jarConfig.baseName = "$project.jarName"
jarConfig.baseName = "$project.artifactId"
jarConfig.version = "$project.version"
jarConfig.classifier = classifier
jarConfig.extension = 'jar'
Expand Down

0 comments on commit ec504ec

Please sign in to comment.