Created
April 9, 2016 18:07
-
-
Save DevPicon/44565f249b6cb1dd30bb721308dbc22a to your computer and use it in GitHub Desktop.
El archivo gradle tras la ejecución del plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.2" | |
defaultConfig { | |
applicationId "pe.androidperu.kotlinproyectobase" | |
minSdkVersion 19 | |
targetSdkVersion 23 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
sourceSets { | |
main.java.srcDirs += 'src/main/kotlin' | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
testCompile 'junit:junit:4.12' | |
compile 'com.android.support:appcompat-v7:23.2.1' | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
} | |
buildscript { | |
ext.kotlin_version = '1.0.1-2' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
repositories { | |
mavenCentral() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment