File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/objectbox-java-test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ apply plugin: 'kotlin'
3
3
4
4
uploadArchives. enabled = false
5
5
6
- // Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
7
- // https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
8
6
tasks. withType(JavaCompile ) {
7
+ // Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
8
+ // https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
9
9
options. release. set(8 )
10
+ // Note: Gradle defaults to the platform default encoding, make sure to always use UTF-8 for UTF-8 tests.
11
+ options. encoding = " UTF-8"
10
12
}
11
13
12
14
// Produce Java 8 byte code, would default to Java 6.
You can’t perform that action at this time.
0 commit comments