1 Star 0 Fork 0

Ze/jwtAndSecurity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle.kts 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
buhuazhen 提交于 2023-11-23 23:30 . open
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.1.5"
id("io.spring.dependency-management") version "1.1.3"
kotlin("jvm") version "1.8.22"
kotlin("plugin.spring") version "1.8.22"
}
group = "com.onex.jwt"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/cn.hutool/hutool-all
implementation("cn.hutool:hutool-all:5.8.23")
// https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2
implementation("com.alibaba.fastjson2:fastjson2:2.0.42")
// https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter
implementation("org.redisson:redisson-spring-boot-starter:3.24.3")
implementation("org.projectlombok:lombok:1.18.30")
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api
implementation("io.jsonwebtoken:jjwt-api:0.12.3")
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl
implementation("io.jsonwebtoken:jjwt-impl:0.12.3")
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-gson
implementation("io.jsonwebtoken:jjwt-gson:0.12.3")
implementation("org.springframework.boot:spring-boot-starter-security")
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.springframework.security:spring-security-test")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.bootBuildImage {
builder.set("paketobuildpacks/builder-jammy-base:latest")
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/buhua_town/jwtAndSecurity.git
git@gitee.com:buhua_town/jwtAndSecurity.git
buhua_town
jwtAndSecurity
jwtAndSecurity
main

搜索帮助