-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
95 lines (75 loc) · 2.73 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.3.4.RELEASE"
id("io.spring.dependency-management") version "1.0.9.RELEASE"
kotlin("jvm") version "1.3.72"
kotlin("plugin.spring") version "1.3.72"
kotlin("plugin.jpa") version "1.3.72"
kotlin("kapt") version "1.3.72"
kotlin("plugin.allopen") version "1.3.71"
kotlin("plugin.noarg") version "1.3.71"
}
allOpen {
annotation("javax.persistence.Entity")
}
noArg {
annotation("javax.persistence.Entity")
}
group = "com.wafflestudio"
version = "0.0.1"
java.sourceCompatibility = JavaVersion.VERSION_11
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.springframework.boot:spring-boot-starter")
implementation ("org.springframework.boot:spring-boot-starter-tomcat")
implementation ("org.springframework.boot:spring-boot-starter-web")
implementation ("org.springframework.boot:spring-boot-starter-jdbc")
implementation ("org.springframework.boot:spring-boot-starter-data-jpa")
runtimeOnly("org.postgresql:postgresql")
// Geomety
implementation("org.locationtech.jts:jts-core")
// Logger
implementation("org.slf4j:slf4j-api:1.7.25")
// Lombok
runtimeOnly("com.h2database:h2")
//hibernate
implementation("org.hibernate.validator:hibernate-validator")
implementation("org.hibernate:hibernate-core")
implementation("org.hibernate:hibernate-spatial:5.4.24.Final")
// JSON parser
implementation("com.googlecode.json-simple:json-simple:1.1.1")
// Spring Security
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("io.jsonwebtoken:jjwt:0.9.1")
// Swagger
implementation ("io.springfox:springfox-swagger2:2.9.2")
implementation ("io.springfox:springfox-swagger-ui:2.9.2")
//firebase
implementation ("com.google.firebase:firebase-admin:6.8.1")
// Google oauth
implementation ("com.google.api-client:google-api-client")
// Testing instrument
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
testImplementation("org.springframework.security:spring-security-test")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}