-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
54 lines (46 loc) · 1.92 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id("org.springframework.boot") version "2.4.5"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.4.32"
kotlin("plugin.spring") version "1.4.32"
id("org.jetbrains.kotlin.plugin.jpa") version "1.4.32"
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web:2.4.5")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.4")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.4.32")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:2.4.5")
implementation("org.mockito.kotlin:mockito-kotlin:3.1.0")
implementation("io.github.wickie73:mockito4kotlin-annotation:0.5.0")
implementation("com.google.code.gson:gson:2.8.5")
implementation("org.jetbrains.kotlin:kotlin-noarg:1.4.32")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:2.4.5")
implementation("io.jsonwebtoken:jjwt:0.5.1")
runtimeOnly("org.postgresql:postgresql:42.2.19")
testImplementation("com.h2database:h2:1.4.200")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.7.1")
testImplementation("com.ninja-squad:springmockk:3.0.1")
testImplementation("org.springframework.boot:spring-boot-starter-test:2.4.5")
testImplementation("org.springframework.security:spring-security-test:5.4.6")
}
group = "k.co.willynganga"
version = "0.0.1-SNAPSHOT"
description = "codematata-sessions"
java.sourceCompatibility = JavaVersion.VERSION_1_8
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "1.8"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
apply(plugin = "org.jetbrains.kotlin.plugin.jpa")