-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (49 loc) · 2.03 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
49
50
51
52
53
54
55
56
57
58
buildscript {
ext.kotlin_version = '1.4.30'
ext.spring_boot_version = '2.1.8.RELEASE'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
classpath "org.jetbrains.kotlin:kotlin-noarg:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: "kotlin-spring"
apply plugin: "kotlin-jpa"
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'kotlinx-serialization'
jar {
setArchivesBaseName("casher-bugtsa-resource-service")
setVersion("0.0.2")
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
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")
implementation("org.springframework.cloud:spring-cloud-starter-security")
implementation("org.springframework.cloud:spring-cloud-starter-oauth2:2.1.4.RELEASE")
implementation("org.springframework.cloud:spring-cloud-starter-config:2.1.4.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation ("org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:$spring_boot_version")
testImplementation("org.springframework.boot:spring-boot-starter-test")
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'mysql:mysql-connector-java'
compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0"
compile 'javax.xml.bind:jaxb-api'
compile 'org.hibernate:hibernate-core'
compile 'org.hibernate:hibernate-entitymanager'
compile group: 'commons-dbcp', name: 'commons-dbcp', version: '1.2.2'
}