原配置
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("org.springframework.boot") version "2.5.4"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.5.31"
kotlin("plugin.spring") version "1.5.31"
kotlin("plugin.serialization") version "1.5.31"
kotlin("kapt") version "1.5.31"
}
allprojects {
repositories {
//maven{
// isAllowInsecureProtocol = true
// url = uri("https://repo1.maven.org/maven2")
//}
mavenLocal()
gradlePluginPortal()
mavenCentral()
}
}
subprojects {
group = "com.qulv"
version = "0.0.1-SNAPSHOT"
apply(plugin = "io.spring.dependency-management")
apply(plugin = "kotlin")
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
apply(plugin = "kotlin-kapt")
val cloudeventsVer = "2.2.0"
val protostuffVer = "1.7.4"
val rsocketBrokerVer = "1.1.1"
val r2dbcVer = "0.9.0.M2"
//val rsocketKotlinVer = "0.13.1"
val mapStructVer = "1.5.0.Beta1"
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("org.springframework.boot:spring-boot-starter-actuator:2.5.4")
implementation("org.springframework.boot:spring-boot-starter-rsocket")
implementation("org.springframework.boot:spring-boot-starter:2.5.4")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
implementation(