Skip to content

Instantly share code, notes, and snippets.

@brunapereira
Last active July 24, 2020 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunapereira/cca4ce2fc07636b4ecc9a2b816874f15 to your computer and use it in GitHub Desktop.
Save brunapereira/cca4ce2fc07636b4ecc9a2b816874f15 to your computer and use it in GitHub Desktop.
plugins {
kotlin("jvm") version "1.3.72"
id("com.github.johnrengelman.shadow") version "4.0.4"
id("org.unbroken-dome.test-sets") version "3.0.1"
application
}
group = "com.brunapereira"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
compile("io.javalin:javalin:3.9.1")
compile("org.slf4j:slf4j-simple:1.7.30")
compile("com.fasterxml.jackson.core:jackson-databind:2.10.3")
compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.10.3")
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.4")
implementation("com.zaxxer:HikariCP:3.4.5")
implementation("org.jetbrains.exposed:exposed:0.11.1")
runtimeOnly("org.postgresql:postgresql:42.2.14")
testCompile("com.h2database:h2:1.4.200")
compile("org.koin:koin-core:2.1.5")
testCompile("org.koin:koin-test:2.1.5")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.5.0")
testImplementation("org.spekframework.spek2:spek-dsl-jvm:2.0.5")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.0")
testRuntimeOnly("org.spekframework.spek2:spek-runner-junit5:2.0.5")
}
tasks.withType<Test> {
useJUnitPlatform {
includeEngines("spek2")
}
testLogging {
events("passed", "skipped", "failed")
}
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
testSets {
"integrationTest"()
}
application {
mainClassName = "com.brunapereira.project.MainKt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment