mirror of
https://github.com/ethauvin/kotlin-pluralizer.git
synced 2025-04-25 08:47:12 -07:00
51 lines
1,008 B
Groovy
51 lines
1,008 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'com.github.dcendents.android-maven'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion "24.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 24
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile gradleApi()
|
|
compile 'com.android.support:appcompat-v7:24.2.0'
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
apply from: 'publish.gradle'
|