Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3.  
  4. android {
  5. compileSdkVersion 22
  6. buildToolsVersion "22.0.1"
  7.  
  8. defaultConfig {
  9. applicationId "com.write.your.package"
  10. minSdkVersion 21
  11. targetSdkVersion 22
  12. versionCode 1
  13. versionName "1.0"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. sourceSets {
  22. main.java.srcDirs += 'src/main/kotlin'
  23. }
  24. }
  25.  
  26. dependencies {
  27. compile fileTree(dir: 'libs', include: ['*.jar'])
  28. compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  29. }
  30. buildscript {
  31. ext.kotlin_version = '0.12.200'
  32. repositories {
  33. mavenCentral()
  34. }
  35. dependencies {
  36. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  37. }
  38. }
  39. repositories {
  40. mavenCentral()
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement