File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed
Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,14 @@ allprojects {
8585 flatDir dirs : " ${ rootDir} /core/dist"
8686 }
8787
88- sourceCompatibility = 1.8
89- targetCompatibility = 1.8
88+ compileJava {
89+ sourceCompatibility = JavaVersion . VERSION_1_8
90+ targetCompatibility = JavaVersion . VERSION_1_8
91+
92+ // Uncomment this option when building with Java 11+
93+ // https://github.com/processing/processing-android/issues/625
94+ // options.release = 8
95+ }
9096}
9197
9298clean. doFirst {
Original file line number Diff line number Diff line change 11import java.nio.file.Files
22import static java.nio.file.StandardCopyOption.REPLACE_EXISTING
33
4- apply plugin : ' maven'
54apply plugin : ' aar'
5+ apply plugin : ' maven'
66
77dependencies {
88 implementation name : " android"
@@ -80,16 +80,7 @@ clean.doFirst {
8080}
8181
8282compileJava. doFirst {
83- String [] deps = [
84- // "percent.jar",
85- // "recyclerview-v7.jar",
86- // "support-compat.jar",
87- // "support-core-ui.jar",
88- // "support-core-utils.jar",
89- // "support-fragment.jar",
90- // "support-media-compat.jar",
91- // "support-v4.jar",
92- " wearable.jar" ]
83+ String [] deps = [" wearable.jar" ]
9384 for (String fn : deps) {
9485 Files . copy(file(" ${ rootDir} /build/libs/" + fn). toPath(),
9586 file(" ${ rootDir} /mode/mode/" + fn). toPath(), REPLACE_EXISTING )
Original file line number Diff line number Diff line change 11import java.nio.file.Files
22import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
33
4- apply plugin : ' maven'
54apply plugin : ' aar'
6-
5+ apply plugin : ' maven '
76
87dependencies {
98 compileOnly name : " android"
Original file line number Diff line number Diff line change 11import java.nio.file.Files
22import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
33
4- apply plugin : ' maven'
54apply plugin : ' aar'
5+ apply plugin : ' maven'
66
77dependencies {
88 compileOnly name : " android"
You can’t perform that action at this time.
0 commit comments