42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion target_sdk_version
|
|
|
|
defaultConfig {
|
|
targetSdkVersion target_sdk_version
|
|
minSdkVersion min_sdk_version
|
|
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
|
|
|
|
api project(':apng')
|
|
// 'api' に指定した依存関係はこのライブラリの利用者に公開されます
|
|
// 'implementation' に指定した依存関係はこのライブラリの利用者に公開されません
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|