43 lines
781 B
Groovy
43 lines
781 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
namespace = 'com.jaredrummler.android.colorpicker'
|
|
|
|
compileSdk = project.ext.compileSdk
|
|
|
|
resourcePrefix "cpv_"
|
|
|
|
defaultConfig {
|
|
minSdk = project.ext.minSdk
|
|
targetSdk = project.ext.targetSdk
|
|
|
|
versionName '1.1.0'
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.toVersion(project.ext.javaVersion)
|
|
targetCompatibility = JavaVersion.toVersion(project.ext.javaVersion)
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = project.ext.javaVersion
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.appcompat
|
|
implementation libs.preference.ktx
|
|
}
|