Created
August 16, 2014 08:39
-
-
Save pepyakin/092d6eda3603cdfb7262 to your computer and use it in GitHub Desktop.
build.gradle
This file contains 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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.11.+' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:0.8.11' | |
} | |
} | |
allprojects { | |
repositories { | |
mavenCentral() | |
} | |
} | |
apply plugin: 'android' | |
apply plugin: 'kotlin-android' | |
android { | |
compileSdkVersion 'android-L' | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "me.pepyakin.kotlinapp" | |
minSdkVersion 'L' | |
targetSdkVersion 'L' | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
runProguard false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
sourceSets { | |
main.java.srcDirs += 'src/main/kotlin' | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile 'org.jetbrains.kotlin:kotlin-stdlib:0.8.11' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment