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 {
85
85
flatDir dirs : " ${ rootDir} /core/dist"
86
86
}
87
87
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
+ }
90
96
}
91
97
92
98
clean. doFirst {
Original file line number Diff line number Diff line change 1
1
import java.nio.file.Files
2
2
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING
3
3
4
- apply plugin : ' maven'
5
4
apply plugin : ' aar'
5
+ apply plugin : ' maven'
6
6
7
7
dependencies {
8
8
implementation name : " android"
@@ -80,16 +80,7 @@ clean.doFirst {
80
80
}
81
81
82
82
compileJava. 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" ]
93
84
for (String fn : deps) {
94
85
Files . copy(file(" ${ rootDir} /build/libs/" + fn). toPath(),
95
86
file(" ${ rootDir} /mode/mode/" + fn). toPath(), REPLACE_EXISTING )
Original file line number Diff line number Diff line change 1
1
import java.nio.file.Files
2
2
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
3
3
4
- apply plugin : ' maven'
5
4
apply plugin : ' aar'
6
-
5
+ apply plugin : ' maven '
7
6
8
7
dependencies {
9
8
compileOnly name : " android"
Original file line number Diff line number Diff line change 1
1
import java.nio.file.Files
2
2
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
3
3
4
- apply plugin : ' maven'
5
4
apply plugin : ' aar'
5
+ apply plugin : ' maven'
6
6
7
7
dependencies {
8
8
compileOnly name : " android"
You can’t perform that action at this time.
0 commit comments