1
1
plugins {
2
2
id(" com.android.application" )
3
+ kotlin(" android" )
3
4
}
4
5
5
6
android {
6
- compileSdk = 33
7
- buildToolsVersion = " 30.0.3"
7
+ compileSdk = 34
8
8
9
9
defaultConfig {
10
10
applicationId = " org.asteroidos.sync"
11
11
minSdk = 24
12
- targetSdk = 33
12
+ targetSdk = 34
13
13
versionCode = 29
14
14
versionName = " 0.29"
15
15
ndk.abiFilters.clear()
16
16
ndk.abiFilters.add(" arm64-v8a" )
17
+ ndk.abiFilters.add(" armeabi-v7a" )
18
+ ndk.abiFilters.add(" x86" )
19
+ ndk.abiFilters.add(" x86_64" )
17
20
externalNativeBuild {
18
21
cmake {
19
22
cppFlags + = " "
@@ -39,7 +42,7 @@ android {
39
42
srcDir(" src/main/lib/powerampapi/poweramp_api_lib/res/" )
40
43
}
41
44
jniLibs {
42
- srcDir(" /work /android-root/lib" )
45
+ srcDir(" /tmp /android-root/lib" )
43
46
}
44
47
}
45
48
}
@@ -48,6 +51,10 @@ android {
48
51
sourceCompatibility = JavaVersion .VERSION_17
49
52
targetCompatibility = JavaVersion .VERSION_17
50
53
}
54
+ kotlinOptions {
55
+ jvmTarget = " 17"
56
+ }
57
+
51
58
lint {
52
59
checkReleaseBuilds = true
53
60
disable + = " MissingTranslation"
@@ -80,4 +87,11 @@ dependencies {
80
87
implementation(" no.nordicsemi.android.support.v18:scanner:1.6.0" )
81
88
implementation(" no.nordicsemi.android:ble:2.7.2" )
82
89
implementation(" com.google.guava:guava:33.1.0-android" )
90
+ implementation(" com.github.hypfvieh:dbus-java-core:5.0.0" )
91
+ implementation(" com.github.hypfvieh:dbus-java-transport-tcp:5.0.0" )
92
+ implementation(" androidx.media3:media3-session:1.3.1" )
93
+ implementation(" androidx.media3:media3-common:1.3.1" )
94
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1-Beta" )
95
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.8.1-Beta" )
96
+
83
97
}
0 commit comments