38 lines
1.2 KiB
Groovy
38 lines
1.2 KiB
Groovy
![]() |
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
|
||
|
android {
|
||
|
compileSdk COMPILE_SDK_VERSION.toInteger()
|
||
|
|
||
|
defaultConfig {
|
||
|
targetSdk TARGET_SDK_VERSION.toInteger()
|
||
|
minSdk MIN_SDK_VERSION.toInteger()
|
||
|
|
||
|
testApplicationId 'com.soundcloud.android.crop.test'
|
||
|
testInstrumentationRunner 'android.test.InstrumentationTestRunner'
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled true
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildToolsVersion = '30.0.3'
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
||
|
implementation 'com.google.android.material:material:1.6.1'
|
||
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||
|
implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
|
||
|
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
||
|
}
|