You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
|
1 year ago
|
plugins {
|
||
|
|
id("org.springframework.boot") version "3.3.1"
|
||
|
|
id("io.spring.dependency-management") version "1.1.5"
|
||
|
|
kotlin("jvm") version "1.9.24"
|
||
|
|
kotlin("plugin.spring") version "1.9.24"
|
||
|
|
}
|
||
|
|
|
||
|
|
group = "tv.anypoint"
|
||
|
|
version = "0.0.1-SNAPSHOT"
|
||
|
|
extra["springCloudVersion"] = "2021.0.4"
|
||
|
|
|
||
|
|
java {
|
||
|
|
toolchain {
|
||
|
|
languageVersion = JavaLanguageVersion.of(19)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
||
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
||
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
||
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||
|
|
compileOnly(platform("org.springframework.cloud:spring-cloud-dependencies:${property("springCloudVersion")}"))
|
||
|
|
|
||
|
|
// kinesis library
|
||
|
|
implementation("software.amazon.kinesis:amazon-kinesis-client:2.6.0")
|
||
|
|
implementation("software.amazon.awssdk:kinesis:2.26.18")
|
||
|
|
implementation("software.amazon.awssdk:dynamodb:2.26.18")
|
||
|
|
implementation("software.amazon.awssdk:cloudwatch:2.26.18")
|
||
|
|
|
||
|
|
// db library
|
||
|
|
implementation("org.postgresql:postgresql:42.2.23")
|
||
|
|
implementation("org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16")
|
||
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlin {
|
||
|
|
compilerOptions {
|
||
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.withType<Test> {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|