Skip to content

Commit

Permalink
Fix extraction of Java target version from profile (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbabcoc authored Feb 5, 2023
1 parent 23286e5 commit 043e343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apply from: "${profile}Deps.gradle"

def archiveVer = null
def verBits = scmVersion.version.split('-')
def javaVersion = 'j' + profile.charAt(4)
def javaVersion = 'j' + profile.substring(4)
if (verBits.length > 1) {
if (verBits[1].equals(javaVersion)) {
archiveVer = project.version
Expand Down

0 comments on commit 043e343

Please sign in to comment.