-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
74 lines (66 loc) · 2.87 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val springBootVersion by System.getProperties()
println("Spring Boot version is $springBootVersion")
id("org.springframework.boot") version "$springBootVersion"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
id("com.github.johnrengelman.processes") version "0.5.0"
id("org.springdoc.openapi-gradle-plugin") version "1.3.3"
//id("org.liquibase.gradle") version "2.1.1"
kotlin("jvm") version "1.6.0"
kotlin("plugin.spring") version "1.6.10"
kotlin("plugin.allopen") version "1.6.10"
kotlin("plugin.jpa") version "1.6.10"
}
description = "African Names discovering app"
group = "com.tooflexdev"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
val springBootVersion by System.getProperties()
implementation("org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter-data-rest:$springBootVersion")
implementation("org.postgresql:postgresql:42.5.0")
implementation("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.4")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0")
implementation("com.sipios:spring-search:0.2.4")
implementation("org.junit.jupiter:junit-jupiter:5.9.0")
// https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-ui
implementation("org.springdoc:springdoc-openapi-ui:1.6.11")
// https://mvnrepository.com/artifact/com.opencsv/opencsv
implementation("com.opencsv:opencsv:5.7.1")
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
implementation("io.jsonwebtoken:jjwt:0.9.1")
// https://mvnrepository.com/artifact/org.twitter4j/twitter4j-core
implementation("org.twitter4j:twitter4j-core:4.1.1")
// https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation("com.google.code.gson:gson:2.10")
// https://mvnrepository.com/artifact/org.liquibase/liquibase-core
//implementation("org.liquibase:liquibase-core:4.7.1")
runtimeOnly("com.h2database:h2:2.1.214")
testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion") {
exclude(group = "org.mockito", module = "mockito-core")
}
testImplementation("org.springframework.security:spring-security-test:5.7.3")
testImplementation("com.ninja-squad:springmockk:3.1.1")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
allOpen {
annotation("javax.persistence.Entity")
annotation("javax.persistence.Embeddable")
annotation("javax.persistence.MappedSuperclass")
}