blob: dc115a2a747efd9f3bd866e76652d3d7365e478b [file] [log] [blame]
Xia Kaixiang04f7b5b2019-04-08 17:56:29 +08001plugins {
2 id 'org.jetbrains.kotlin.plugin.jpa' version '1.2.41'
3 id 'org.springframework.boot' version '2.1.3.RELEASE'
4 id 'war'
5 id 'org.jetbrains.kotlin.jvm' version '1.2.41'
6 id 'org.jetbrains.kotlin.plugin.spring' version '1.2.41'
7}
8
9apply plugin: 'io.spring.dependency-management'
10
11group = 'com.supwisdom'
12version = '0.0.1-SNAPSHOT'
13sourceCompatibility = '1.8'
14
15repositories {
16 mavenCentral()
17}
18
19dependencies {
20 implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
21 implementation 'org.springframework.boot:spring-boot-starter-web'
22 implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
23 implementation 'org.jetbrains.kotlin:kotlin-reflect'
24 implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
25 providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
26 testImplementation 'org.springframework.boot:spring-boot-starter-test'
27
28 compile group: 'javax.servlet', name: 'jstl', version: '1.2'
29 compile group: 'taglibs', name: 'standard', version: '1.1.2'
30 compile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
31 compile group: 'log4j', name: 'log4j', version: '1.2.16'
32 compile files ('libs/ojdbc6.jar')
33}
34
35compileKotlin {
36 kotlinOptions {
37 freeCompilerArgs = ['-Xjsr305=strict']
38 jvmTarget = '1.8'
39 }
40}
41
42compileTestKotlin {
43 kotlinOptions {
44 freeCompilerArgs = ['-Xjsr305=strict']
45 jvmTarget = '1.8'
46 }
47}