Skip to content

Commit 043e343

Browse files
authored
Fix extraction of Java target version from profile (#66)
1 parent 23286e5 commit 043e343

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ apply from: "${profile}Deps.gradle"
2222

2323
def archiveVer = null
2424
def verBits = scmVersion.version.split('-')
25-
def javaVersion = 'j' + profile.charAt(4)
25+
def javaVersion = 'j' + profile.substring(4)
2626
if (verBits.length > 1) {
2727
if (verBits[1].equals(javaVersion)) {
2828
archiveVer = project.version

0 commit comments

Comments
 (0)