35 lines
976 B
Groovy
35 lines
976 B
Groovy
apply plugin: 'com.android.library'
|
|
android {
|
|
namespace "com.lzy.ninegrid"
|
|
compileSdkVersion 33
|
|
// buildToolsVersion 在 AGP 8.0+ 中不再需要,会自动使用默认版本
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 27
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'androidx.annotation:annotation:1.0.0'
|
|
implementation 'com.github.chrisbanes.photoview:library:1.2.4'
|
|
|
|
|
|
implementation files('../app/libs/pldroid-player-2.1.9.jar')
|
|
|
|
}
|
|
|
|
//apply from: '../bintray.gradle' |