All the examples that aren't part of the Android RSS Reader.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
821 B

  1. group 'co.starcarr'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext.kotlin_version = '1.2.50'
  5. ext.coroutines_version = '0.23.3'
  6. repositories {
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. }
  12. }
  13. apply plugin: 'kotlin'
  14. repositories {
  15. mavenCentral()
  16. }
  17. dependencies {
  18. compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
  19. compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
  20. // Test libraries
  21. testCompile "org.jetbrains.kotlin:kotlin-test"
  22. testCompile "org.jetbrains.kotlin:kotlin-test-junit"
  23. }
  24. compileKotlin {
  25. kotlinOptions.jvmTarget = "1.8"
  26. }
  27. compileTestKotlin {
  28. kotlinOptions.jvmTarget = "1.8"
  29. }
  30. kotlin {
  31. experimental {
  32. coroutines "enable"
  33. }
  34. }