Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. apply plugin: 'kotlin'
  2.  
  3. dependencies {
  4. compile fileTree(dir: 'libs', include: ['*.jar'])
  5. compile 'junit:junit:4.12'
  6. compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
  7. }
  8.  
  9. sourceCompatibility = "1.7"
  10. targetCompatibility = "1.7"
  11. buildscript {
  12. ext.kotlin_version = '1.1.4-2'
  13. repositories {
  14. mavenCentral()
  15. }
  16. dependencies {
  17. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  18. }
  19. }
  20. repositories {
  21. mavenCentral()
  22. }
  23. compileKotlin {
  24. kotlinOptions {
  25. jvmTarget = "1.8"
  26. }
  27. }
  28. compileTestKotlin {
  29. kotlinOptions {
  30. jvmTarget = "1.8"
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement