Skip to content

Commit 038b15e

Browse files
chore: Use JavaVersion.toVersion for compatibility settings (box/box-codegen#803) (#1380)
1 parent 5cc57bc commit 038b15e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "f036f69", "specHash": "623b811", "version": "0.1.0" }
1+
{ "engineHash": "46ac366", "specHash": "623b811", "version": "0.1.0" }

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ group = "com.box"
1212
archivesBaseName = "box-java-sdk-gen"
1313
version = "0.1.0"
1414
java {
15-
sourceCompatibility = "${libraryJavaVersion}"
16-
targetCompatibility = "${libraryJavaVersion}"
15+
sourceCompatibility = JavaVersion.toVersion(libraryJavaVersion)
16+
targetCompatibility = JavaVersion.toVersion(libraryJavaVersion)
1717
withSourcesJar()
1818
withJavadocJar()
1919
}

0 commit comments

Comments
 (0)