1 Star 9 Fork 4

Xiang/MultiTenant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
PeterGamp 提交于 2022-09-15 23:31 . 引入 Liquibase
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.7.3"
id("io.spring.dependency-management") version "1.0.13.RELEASE"
kotlin("jvm") version "1.6.21"
kotlin("plugin.spring") version "1.6.21"
kotlin("kapt") version "1.6.21"
}
group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_11
repositories {
maven {
setUrl("https://maven.aliyun.com/repository/public/")
}
maven {
setUrl("https://maven.aliyun.com/repository/spring/")
}
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web:2.7.3")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.4")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.springframework.boot:spring-boot-starter-test:2.7.3")
/**
* 数据库
*/
implementation("org.springframework.boot:spring-boot-starter-data-jpa:2.7.3")
implementation("mysql:mysql-connector-java:8.0.30")
/**
* 注解
*/
kapt("org.springframework.boot:spring-boot-configuration-processor:2.7.3")
// coroutine
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
// liquibase
implementation("org.liquibase:liquibase-core:4.16.0")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/yoshii_x/multi-tenant.git
git@gitee.com:yoshii_x/multi-tenant.git
yoshii_x
multi-tenant
MultiTenant
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385