Skip to content

Commit

Permalink
Use VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed Jul 8, 2024
1 parent 35cffb8 commit 301499b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.5.0
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ plugins {
}

group 'org.jlab'
version '4.5.0'
version new File("${projectDir}/VERSION").text.trim()
ext.releaseDate = new Date().format('MMM dd yyyy')

tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.release = 11
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
Expand Down

0 comments on commit 301499b

Please sign in to comment.