| plugins { |
| id 'war' |
| id 'org.springframework.boot' |
| id 'org.jetbrains.kotlin.jvm' |
| id 'org.jetbrains.kotlin.plugin.jpa' |
| id 'org.jetbrains.kotlin.plugin.spring' |
| } |
| |
| apply plugin: 'io.spring.dependency-management' |
| |
| group = 'com.supwisdom' |
| version = payapiVersion |
| sourceCompatibility = jdkVersion |
| |
| repositories { |
| mavenCentral() |
| } |
| |
| dependencies { |
| implementation 'org.springframework.boot:spring-boot-starter-data-jpa' |
| implementation 'org.springframework.boot:spring-boot-starter-web' |
| implementation 'com.fasterxml.jackson.module:jackson-module-kotlin' |
| implementation 'org.jetbrains.kotlin:kotlin-reflect' |
| implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' |
| providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' |
| testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| |
| compile group: 'javax.servlet', name: 'jstl', version: '1.2' |
| compile group: 'taglibs', name: 'standard', version: '1.1.2' |
| compile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1' |
| compile group: 'log4j', name: 'log4j', version: '1.2.16' |
| compile files ('libs/ojdbc6.jar') |
| } |
| |
| compileKotlin { |
| kotlinOptions { |
| freeCompilerArgs = ['-Xjsr305=strict'] |
| jvmTarget = jdkVersion |
| } |
| } |
| |
| compileTestKotlin { |
| kotlinOptions { |
| freeCompilerArgs = ['-Xjsr305=strict'] |
| jvmTarget = jdkVersion |
| } |
| } |