-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
73 lines (62 loc) · 1.93 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
import org.jetbrains.kotlin.config.JvmTarget
/*
* This file was generated by the Gradle "init" task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id("org.springframework.boot") version "3.0.6"
id("io.spring.dependency-management") version "1.1.0"
kotlin("jvm") version "1.8.21"
kotlin("plugin.spring") version "1.8.21"
id("com.google.cloud.tools.jib") version "3.3.2"
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
maven {
url = uri("https://jcenter.bintray.com/")
}
}
dependencies {
implementation(platform("org.springframework.boot:spring-boot-dependencies:3.0.6"))
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("io.micrometer:micrometer-registry-prometheus")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.21")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.2")
implementation("io.github.microutils:kotlin-logging:3.0.5")
implementation("com.squareup.okhttp3:okhttp:4.11.0")
//Test
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.mockk:mockk:1.12.3")
}
group = "com.jm"
version = "0.0.1-SNAPSHOT"
description = "strava-token-generator"
tasks.withType<Test> {
useJUnitPlatform()
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("19"))
}
}
jib {
to {
image = "jmillnerdev/strava-token-generator"
}
from {
image = "eclipse-temurin:19.0.2_7-jre-jammy"
platforms {
platform {
os = "linux"
architecture = "arm64"
}
}
}
}