-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (32 loc) · 1008 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val exposedVersion: String by project
val mysqlConnectorVersion: String by project
val javaFakerVersion: String by project
val logbackVersion: String by project
plugins {
kotlin("jvm") version "1.7.10"
application
}
group = "io.kraftsman"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
implementation("mysql:mysql-connector-java:$mysqlConnectorVersion")
implementation("com.github.javafaker:javafaker:$javaFakerVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
}
application {
mainClass.set("MainKt")
}