123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- buildscript {
- ext.kotlin_version = '1.0.3'
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:2.1.0'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- android {
- compileSdkVersion 'android-23'
- buildToolsVersion '24.0.1'
- defaultConfig {
- applicationId 'com.pleasantprogrammer.mpp'
- minSdkVersion 15
- targetSdkVersion 22
- versionCode 1
- versionName '0.1'
- }
- buildTypes {
- release {
- proguardFile getDefaultProguardFile('proguard-android.txt')
- }
- }
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
- }
- repositories {
- jcenter()
- }
- dependencies {
- compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- compile 'org.jetbrains.anko:anko-sdk15:0.9'
- }
|