build: Finished moving to gradle.
This commit is contained in:
+8
-1
@@ -18,7 +18,7 @@
|
||||
val projectUrl by extra("https://codecrafters.org.cn/JDevKit")
|
||||
val projectGithubUrl by extra("https://github.com/CodeCraftersCN/JDevKit")
|
||||
val globalGroupId by extra("cn.org.codecrafters")
|
||||
val globalVersion by extra("1.2.3")
|
||||
val globalVersion by extra("1.2.2-gradle")
|
||||
val licenseName by extra("The Apache License, Version 2.0")
|
||||
val licenseUrl by extra("https://www.apache.org/licenses/LICENSE-2.0.txt")
|
||||
|
||||
@@ -37,6 +37,8 @@ subprojects {
|
||||
val testImplementation by configurations
|
||||
val compileOnly by configurations
|
||||
val annotationProcessor by configurations
|
||||
val testAnnotationProcessor by configurations
|
||||
val testCompileOnly by configurations
|
||||
|
||||
dependencies {
|
||||
compileOnly("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
@@ -44,7 +46,12 @@ subprojects {
|
||||
implementation("ch.qos.logback:logback-classic:$logbackVersion")
|
||||
annotationProcessor("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
|
||||
|
||||
testCompileOnly("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
testCompileOnly("org.projectlombok:lombok:$lombokVersion")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
|
||||
testAnnotationProcessor("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
testAnnotationProcessor("org.projectlombok:lombok:$lombokVersion")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ slf4jVersion=2.0.9
|
||||
lombokVersion=1.18.30
|
||||
jacksonVersion=2.16.0
|
||||
javaJwtVersion=4.4.0
|
||||
jjwtVersion=0.12.3
|
||||
jjwtVersion=0.11.5
|
||||
okhttpVersion=4.12.0
|
||||
springVersion=6.1.1
|
||||
springBootVersion=3.2.0
|
||||
@@ -18,6 +18,8 @@ group = globalGroupId
|
||||
version = globalVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-utils"))
|
||||
implementation(project(":guid"))
|
||||
implementation(project(":simple-jwt-facade"))
|
||||
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
|
||||
implementation("com.auth0:java-jwt:$javaJwtVersion")
|
||||
|
||||
@@ -19,6 +19,7 @@ version = globalVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-utils"))
|
||||
implementation(project(":guid"))
|
||||
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
|
||||
implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion")
|
||||
implementation("io.jsonwebtoken:jjwt-impl:$jjwtVersion")
|
||||
|
||||
@@ -35,6 +35,7 @@ group = globalGroupId
|
||||
version = globalVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":guid"))
|
||||
implementation(project(":simple-jwt-facade"))
|
||||
compileOnly("com.auth0:java-jwt:$javaJwtVersion")
|
||||
compileOnly(project(":simple-jwt-authzero"))
|
||||
|
||||
Reference in New Issue
Block a user