Guest User

Untitled

a guest
Mar 19th, 2015
374
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4. repositories {
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:1.1.0'
  9. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10. classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
  11. }
  12. }
  13.  
  14. allprojects {
  15. repositories {
  16. jcenter()
  17. maven {
  18. url "https://jitpack.io"
  19. }
  20. }
  21. }
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. apply plugin: 'com.android.application'
  29. apply plugin: 'kotlin-android'
  30. apply from: 'https://gist.githubusercontent.com/stefanhoth/37f86c8e41d648cbd2c8/raw/49ca13d028885cae89f7da949f11069365aefeec/idea-gradle-sources.gradle'
  31.  
  32. android {
  33. compileSdkVersion 22
  34. buildToolsVersion "22.0.0"
  35.  
  36. defaultConfig {
  37. applicationId "com.yoavst.whatismyip"
  38. minSdkVersion 10
  39. targetSdkVersion 22
  40. versionCode 2
  41. versionName "1.1"
  42. }
  43. sourceSets {
  44. main.java.srcDirs += 'src/main/kotlin'
  45. debug.java.srcDirs += 'src/debug/kotlin'
  46. release.java.srcDirs += 'src/release/kotlin'
  47. }
  48.  
  49. lintOptions {
  50. abortOnError false
  51. }
  52. }
  53.  
  54. dependencies {
  55. compile fileTree(dir: 'libs', include: ['*.jar'])
  56. compile 'com.android.support:appcompat-v7:22.0.0'
  57. compile 'com.android.support:cardview-v7:22.0.0'
  58.  
  59. compile "org.jetbrains.kotlin:kotlin-android-sdk-annotations:$kotlin_version"
  60. compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  61. compile 'com.github.yoavst:androidKotlin:v1.0.3'
  62.  
  63. compile 'com.github.kevinsawicki:http-request:5.6'
  64. compile 'com.github.xiprox.errorview:library:1.0.0'
  65. }
RAW Paste Data