1plugins { 2 id 'com.android.application' 3 id 'kotlin-android' 4} 5 6android { 7 compileSdkVersion 31 8 buildToolsVersion "31.0.0" 9 10 defaultConfig { 11 applicationId "com.google.android.renderscript_test" 12 minSdkVersion 21 13 targetSdkVersion 31 14 versionCode 1 15 versionName "1.0" 16 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 18 } 19 20 buildTypes { 21 release { 22 minifyEnabled false 23 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 24 } 25 } 26 compileOptions { 27 sourceCompatibility JavaVersion.VERSION_1_8 28 targetCompatibility JavaVersion.VERSION_1_8 29 } 30 kotlinOptions { 31 jvmTarget = '1.8' 32 } 33} 34 35dependencies { 36 implementation project(":renderscript-toolkit") 37 implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" 38 implementation 'androidx.core:core-ktx:1.6.0' 39 implementation 'androidx.appcompat:appcompat:1.3.1' 40 implementation 'com.google.android.material:material:1.4.0' 41 testImplementation 'junit:junit:4.13.2' 42 androidTestImplementation 'androidx.test.ext:junit:1.1.3' 43 androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 44} 45