Skip to content

Commit 5714d53

Browse files
authored
Refactor: Create shared module for common assets (#2367)
1 parent a92f304 commit 5714d53

11 files changed

Lines changed: 16 additions & 1 deletion

File tree

samples/OboeDJ/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ dependencies {
5151
implementation fileTree(include: ['*.jar'], dir: 'libs')
5252
implementation project(':audio-device')
5353
implementation project(':parselib') // We need parselib for WAV reading
54+
implementation project(':shared')
5455
implementation 'androidx.appcompat:appcompat:1.7.0'
5556
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
5657

-11.4 MB
Binary file not shown.
-22 MB
Binary file not shown.

samples/powerplay/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ android {
6161
}
6262

6363
dependencies {
64+
implementation project(':shared')
6465
implementation "androidx.core:core-ktx:$core_version"
6566
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2"
6667
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2"
-28.1 MB
Binary file not shown.

samples/settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ include ':parselib'
2626
include ':iolib'
2727
include ':minimaloboe'
2828
include ':powerplay'
29-
include ':OboeDJ'
29+
include ':OboeDJ'
30+
include ':shared'

samples/shared/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
defaultConfig {
5+
minSdkVersion 21
6+
targetSdkVersion 36
7+
compileSdkVersion 36
8+
}
9+
namespace 'com.google.oboe.samples.shared'
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
</manifest>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)