-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (36 loc) · 1.19 KB
/
build.gradle
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
41
42
43
44
45
46
47
48
plugins {
id 'application'
id 'io.freefair.lombok' version "${lombokPluginVersion}"
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of("${javaVersion}")
}
}
compileJava.options.encoding = "${projectEncoding}"
compileTestJava.options.encoding = "${projectEncoding}"
dependencies {
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
implementation "com.oracle.database.jdbc:ojdbc11:${ojdbcVersion}"
implementation "org.mybatis:mybatis:${mybatisVersion}"
implementation "org.mybatis.dynamic-sql:mybatis-dynamic-sql:${mybatisDynamicSqlVersion}"
implementation "org.mybatis:mybatis-spring:${mybatisSpringVersion}"
implementation "org.springframework:spring-context:${springVersion}"
implementation "org.springframework:spring-jdbc:${springVersion}"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation "org.assertj:assertj-core:${assertjVersion}"
}
application {
mainClass = 'org.mklinkj.mybatis_study.App'
}
test {
useJUnitPlatform()
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
}
}