daily pastebin goal
90%
SHARE
TWEET

Untitled

a guest Jul 25th, 2015 520 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ================APP GREADLE============================
  2.  
  3. apply plugin: 'com.android.application'
  4. apply plugin: 'kotlin-android'
  5.  
  6. android {
  7.     compileSdkVersion 22
  8.     buildToolsVersion "22.0.1"
  9.  
  10.     defaultConfig {
  11.         applicationId "asmx85.de.kotlintest"
  12.         minSdkVersion 16
  13.         targetSdkVersion 22
  14.         versionCode 1
  15.         versionName "1.0"
  16.     }
  17.     buildTypes {
  18.         release {
  19.             minifyEnabled false
  20.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21.         }
  22.     }
  23.     sourceSets {
  24.         main.java.srcDirs += 'src/main/kotlin'
  25.     }
  26. }
  27.  
  28. dependencies {
  29.     compile fileTree(dir: 'libs', include: ['*.jar'])
  30.     compile 'com.android.support:appcompat-v7:22.2.1'
  31.    
  32.     compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  33. }
  34.  
  35. buildscript {
  36.     ext.kotlin_version = '0.12.1218'
  37.     repositories {
  38.         mavenCentral()
  39.     }
  40.     dependencies {
  41.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  42.         classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
  43.  
  44.     }
  45. }
  46. repositories {
  47.     mavenCentral()
  48. }
  49.  
  50.  
  51. ================MAIN GREADLE============================
  52. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  53.  
  54. buildscript {
  55.     repositories {
  56.         jcenter()
  57.     }
  58.     dependencies {
  59.         classpath 'com.android.tools.build:gradle:1.2.3'
  60.         // NOTE: Do not place your application dependencies here; they belong
  61.         // in the individual module build.gradle files
  62.     }
  63. }
  64.  
  65. allprojects {
  66.     repositories {
  67.         jcenter()
  68.     }
  69. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top