William Escande | ab8a1e1 | 2024-01-26 13:30:31 -0800 | [diff] [blame] | 1 | plugins { |
| 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 | |
| 9 | repositories { |
| 10 | // Use Maven Central for resolving dependencies. |
| 11 | mavenCentral() |
| 12 | } |
| 13 | |
| 14 | sourceSets.main { |
| 15 | java { |
| 16 | exclude("**/*.bp") |
| 17 | srcDirs("src", "aidl", "change-ids") |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2") |
| 23 | implementation(files("../../../../external/kotlinc/lib/kotlin-stdlib.jar")) |
William Escande | c26a815 | 2024-02-05 15:37:55 -0800 | [diff] [blame] | 24 | 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 Escande | ab8a1e1 | 2024-01-26 13:30:31 -0800 | [diff] [blame] | 25 | 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 | |