Skip to content

Commit

Permalink
Frick gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
nothankyou1 committed Dec 28, 2018
1 parent 246473c commit 3b3629b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ configurations {
compile.extendsFrom(bundle)
}

version = LocalDateTime.now(ZoneId.of("America/Chicago")).format(DateTimeFormatter.ofPattern("yyMMddHHmm"))
version = "2"
if (project.hasProperty("Release")) version += '-' + LocalDateTime.now(ZoneId.of("America/Chicago")).format(DateTimeFormatter.ofPattern("yyMMddHHmm"))


repositories {
Expand All @@ -37,7 +38,7 @@ dependencies {
}

jar {
baseName = "${project.name}"
baseName = "Generated-${project.name}"
version = rootProject?.version ?: project.version
destinationDir = rootProject?.libsDir ?: libsDir
}
Expand Down

0 comments on commit 3b3629b

Please sign in to comment.