buildscript { ext.kotlin_version = '1.2.31' repositories { jcenter() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } group 'com.siapics' version '0.1' apply plugin: 'java' apply plugin: 'kotlin' sourceCompatibility = 1.8 repositories { jcenter() maven { url "https://dl.bintray.com/kotlin/exposed" } } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile 'io.minio:minio:3.0.12' compile "com.sparkjava:spark-kotlin:1.0.0-alpha" compile "com.sparkjava:spark-template-velocity:2.7.1" compile "org.slf4j:slf4j-simple:1.7.21" compile 'com.h2database:h2:1.4.197' compile 'org.apache.velocity:velocity:1.7' //compile 'org.jetbrains.exposed:exposed:0.10.2' compile 'org.jetbrains.exposed:exposed:0.10.1' testCompile group: 'junit', name: 'junit', version: '4.12' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" }