plugins { id 'com.android.library' } android { namespace = "com.live2d.sdk.cubism.framework" compileSdk ((project.findProperty("PROP_COMPILE_SDK_VERSION") ?: "33").toString().toInteger()) defaultConfig { minSdkVersion ((project.findProperty("PROP_MIN_SDK_VERSION") ?: "21").toString().toInteger()) targetSdkVersion ((project.findProperty("PROP_TARGET_SDK_VERSION") ?: "33").toString().toInteger()) versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } dependencies { compileOnly(fileTree(dir: '../Core/android', include: ['Live2DCubismCore.aar'])) testImplementation 'junit:junit:4.13.2' }