◐ Shell
reader mode source ↗
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
5 changes: 5 additions & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
android.enableJetifier=true
android.useAndroidX=true
43 changes: 24 additions & 19 deletions processing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -146,25 +146,26 @@ task dist {
FileUtils.copyDirectory(file("mode/tools/SDKUpdater/src"),
file("${root}/tools/SDKUpdater/src"))

FileUtils.copyDirectory(file("mode/libraries/vr/examples"),
file("${root}/libraries/vr/examples"))
FileUtils.copyDirectory(file("mode/libraries/vr/library"),
file("${root}/libraries/vr/library"))
FileUtils.copyDirectory(file("mode/libraries/vr/libs"),
file("${root}/libraries/vr/libs"))
FileUtils.copyDirectory(file("../libs/processing-vr/src/main/java/"),
file("${root}/libraries/vr/src"))
Files.copy(file("mode/libraries/vr/library.properties").toPath(),
file("${root}/libraries/vr/library.properties").toPath(), REPLACE_EXISTING)

FileUtils.copyDirectory(file("mode/libraries/ar/examples"),
file("${root}/libraries/ar/examples"))
FileUtils.copyDirectory(file("mode/libraries/ar/library"),
file("${root}/libraries/ar/library"))
FileUtils.copyDirectory(file("../libs/processing-ar/src/main/java/"),
file("${root}/libraries/ar/src"))
Files.copy(file("mode/libraries/ar/library.properties").toPath(),
file("${root}/libraries/ar/library.properties").toPath(), REPLACE_EXISTING)

File distFolder = file("dist")
distFolder.mkdirs()
@@ -173,3 +174,7 @@ task dist {
file("dist/AndroidMode.txt").toPath(), REPLACE_EXISTING)
}
}
4 changes: 4 additions & 0 deletions processing/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ dependencies {
implementation name: "android"
implementation "androidx.legacy:legacy-support-v4:${v4legacyVersion}"
implementation "com.google.android.support:wearable:${wearVersion}"
}

sourceSets.main {
Expand Down Expand Up @@ -61,6 +64,7 @@ tasks.named('clean').configure {
}

tasks.named('compileJava').configure {
doFirst {
String[] deps = ["wearable.jar"]
deps.each { fn ->
Expand Down
2 changes: 1 addition & 1 deletion processing/mode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
implementationCopy "org.slf4j:slf4j-api:${slf4jVersion}"
implementationCopy "org.slf4j:slf4j-simple:${slf4jVersion}"

implementation fileTree(include: ["jdi.jar", "jdimodel.jar", "core.jar", "pde.jar", "JavaMode.jar"], dir: 'mode')
}

// This task copies the gradle tooling jar into the mode folder
Expand Down
Toggle all file notes Toggle all file annotations