blob: 5cae44f79185ce6269c365c9bc5e3488e584d884 [file] [log] [blame]
William Escandeab8a1e12024-01-26 13:30:31 -08001plugins {
2 // Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
3 id("org.jetbrains.kotlin.jvm") version "1.8.20"
4
5 // Apply the java-library plugin for API and implementation separation.
6 `java-library`
7}
8
9repositories {
10 // Use Maven Central for resolving dependencies.
11 mavenCentral()
12}
13
14sourceSets.main {
15 java {
16 exclude("**/*.bp")
17 srcDirs("src", "aidl", "change-ids")
18 }
19}
20
21dependencies {
22 implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2")
23 implementation(files("../../../../external/kotlinc/lib/kotlin-stdlib.jar"))
William Escandec26a8152024-02-05 15:37:55 -080024 implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/com/android/modules/utils/build/modules-utils-build_system/android_common_apex33/turbine-combined/modules-utils-build_system.jar"))
William Escandeab8a1e12024-01-26 13:30:31 -080025 implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/com/android/modules/utils/modules-utils-shell-command-handler/android_common_apex33/turbine-combined/modules-utils-shell-command-handler.jar"))
26 implementation(files("../../../../out/soong/.intermediates/frameworks/libs/modules-utils/java/framework-annotations-lib/android_common/turbine-combined/framework-annotations-lib.jar"))
27 implementation(files("../../../../out/soong/.intermediates/packages/modules/Bluetooth/framework/framework-bluetooth-pre-jarjar/android_common/turbine-combined/framework-bluetooth-pre-jarjar.jar"))
28 implementation(files("../../../../out/soong/.intermediates/packages/modules/Bluetooth/service/change-ids/service-bluetooth.change-ids/android_common/turbine-combined/service-bluetooth.change-ids.jar"))
29 implementation(files("../../../../prebuilts/sdk/33/system-server/android.jar"))
30}
31