build.gradle 361B

1234567891011121314151617181920
  1. buildscript {
  2. ext.kotlin_version = '1.0.1-2'
  3. repositories {
  4. mavenCentral()
  5. }
  6. dependencies {
  7. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  8. }
  9. }
  10. apply plugin: 'idea'
  11. apply plugin: 'kotlin'
  12. repositories {
  13. jcenter()
  14. }
  15. dependencies {
  16. compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  17. }