apply from: "../../Script/config.gradle" ext { codePath = "$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" }