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