123456789101112131415161718192021222324252627282930313233343536 |
- import java.nio.file.Paths
- apply from: "../../Script/config.gradle"
- ext {
- codePath = Paths.get("$rootDir", "$rootDirName", "$systemUiLibsPath", "viewcapturelib")
- }
- apply from: "$scriptPath/frameworks_module.gradle"
- apply from: frameworkDependencies
- apply from: protobufConfig
- apply plugin: 'kotlin-android'
- android {
- namespace 'com.android.app.viewcapture'
- sourceSets {
- main {
- proto {
- srcDir "$codePath/src/com/android/app/viewcapture/proto/"
- }
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = "17"
- freeCompilerArgs = ['-Xjvm-default=enable']
- }
- }
- dependencies {
- implementation "androidx.annotation:annotation:$ANDROID_X_VERSION_BASE"
- }
|