Skip to content

Instantly share code, notes, and snippets.

@atsushieno
Last active September 10, 2023 13:52
Show Gist options
  • Save atsushieno/799ea5129c09a616a0b6712fbb8ea5b1 to your computer and use it in GitHub Desktop.
Save atsushieno/799ea5129c09a616a0b6712fbb8ea5b1 to your computer and use it in GitHub Desktop.
this, and changes to androidaudioplugin-lv2/build.gradle change to dependency reference is needed
diff --git a/app/build.gradle b/app/build.gradle
index c71e0cd..18aa487 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -52,14 +52,19 @@ android {
}
dependencies {
- implementation libs.aap.lv2
- implementation libs.aap.core
- implementation libs.aap.midi.device.service
- implementation libs.aap.ui.compose.app
- implementation libs.aap.ui.web
+ //implementation libs.aap.lv2
+ //implementation libs.aap.core
+ //implementation libs.aap.midi.device.service
+ //implementation libs.aap.ui.compose.app
+ //implementation libs.aap.ui.web
+ implementation project(":androidaudioplugin-lv2")
+ implementation project(":androidaudioplugin")
+ implementation project(":androidaudioplugin-midi-device-service")
+ implementation project(":androidaudioplugin-ui-compose-app")
+ implementation project(":androidaudioplugin-ui-web")
testImplementation libs.junit
- androidTestImplementation libs.aap.testing
+ //androidTestImplementation libs.aap.testing
androidTestImplementation libs.test.core
androidTestImplementation libs.test.rules
androidTestImplementation libs.test.runner
diff --git a/external/aap-lv2 b/external/aap-lv2
--- a/external/aap-lv2
+++ b/external/aap-lv2
@@ -1 +1 @@
-Subproject commit d5650de5199dd99932d39c0cb5dd0670212e8f25
+Subproject commit d5650de5199dd99932d39c0cb5dd0670212e8f25-dirty
diff --git a/settings.gradle b/settings.gradle
index ba22c5d..e426cc0 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,5 +1,24 @@
rootProject.name = "aap-lv2-mda"
include ":app"
-// Enable these lines if you want to debug androidaudioplugin-lv2
-//include ":androidaudioplugin-lv2"
-//project(":androidaudioplugin-lv2").projectDir = new File("external/aap-lv2/androidaudioplugin-lv2")
+
+include ":androidaudioplugin-lv2"
+project(":androidaudioplugin-lv2").projectDir = new File("external/aap-lv2/androidaudioplugin-lv2")
+
+include ':androidaudioplugin'
+include ':androidaudioplugin-testing'
+include ':androidaudioplugin-manager'
+include ':androidaudioplugin-samples-host-engine'
+include ':androidaudioplugin-ui-web'
+include ':androidaudioplugin-ui-compose'
+include ':androidaudioplugin-ui-compose-app'
+include ':androidaudioplugin-midi-device-service'
+include ':androidaudioplugin-lv2'
+project(':androidaudioplugin').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin')
+project(':androidaudioplugin-testing').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-testing')
+project(':androidaudioplugin-manager').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-manager')
+project(':androidaudioplugin-samples-host-engine').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-samples-host-engine')
+project(':androidaudioplugin-ui-web').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-ui-web')
+project(':androidaudioplugin-ui-compose').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-ui-compose')
+project(':androidaudioplugin-ui-compose-app').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-ui-compose-app')
+project(':androidaudioplugin-midi-device-service').projectDir = new File('external/aap-lv2/external/aap-core/androidaudioplugin-midi-device-service')
+project(':androidaudioplugin-lv2').projectDir = new File('external/aap-lv2/androidaudioplugin-lv2')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment