build.gradle 721 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id 'org.jetbrains.kotlin.jvm' version '1.3.60'
  3. }
  4. group 'com.example'
  5. version '1.0-SNAPSHOT'
  6. repositories {
  7. mavenCentral()
  8. }
  9. dependencies {
  10. implementation 'mysql:mysql-connector-java:8.0.22'
  11. implementation 'org.postgresql:postgresql:42.2.9'
  12. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  13. testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
  14. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
  15. }
  16. test {
  17. useJUnitPlatform()
  18. }
  19. compileKotlin {
  20. kotlinOptions.jvmTarget = "1.8"
  21. }
  22. compileTestKotlin {
  23. kotlinOptions.jvmTarget = "1.8"
  24. }
  25. buildScan {
  26. termsOfServiceUrl = "https://gradle.com/terms-of-service"
  27. termsOfServiceAgree = "yes"
  28. }