Skip to content

Commit 860bbc2

Browse files
committed
build: Finished moving to gradle.
1 parent d4a760b commit 860bbc2

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
val projectUrl by extra("https://codecrafters.org.cn/JDevKit")
1919
val projectGithubUrl by extra("https://github.com/CodeCraftersCN/JDevKit")
2020
val globalGroupId by extra("cn.org.codecrafters")
21-
val globalVersion by extra("1.2.3")
21+
val globalVersion by extra("1.2.2-gradle")
2222
val licenseName by extra("The Apache License, Version 2.0")
2323
val licenseUrl by extra("https://www.apache.org/licenses/LICENSE-2.0.txt")
2424

@@ -37,14 +37,21 @@ subprojects {
3737
val testImplementation by configurations
3838
val compileOnly by configurations
3939
val annotationProcessor by configurations
40+
val testAnnotationProcessor by configurations
41+
val testCompileOnly by configurations
4042

4143
dependencies {
4244
compileOnly("org.slf4j:slf4j-api:$slf4jVersion")
4345
compileOnly("org.projectlombok:lombok:$lombokVersion")
4446
implementation("ch.qos.logback:logback-classic:$logbackVersion")
4547
annotationProcessor("org.slf4j:slf4j-api:$slf4jVersion")
4648
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
49+
50+
testCompileOnly("org.slf4j:slf4j-api:$slf4jVersion")
51+
testCompileOnly("org.projectlombok:lombok:$lombokVersion")
4752
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
53+
testAnnotationProcessor("org.slf4j:slf4j-api:$slf4jVersion")
54+
testAnnotationProcessor("org.projectlombok:lombok:$lombokVersion")
4855
}
4956

5057
repositories {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ slf4jVersion=2.0.9
2121
lombokVersion=1.18.30
2222
jacksonVersion=2.16.0
2323
javaJwtVersion=4.4.0
24-
jjwtVersion=0.12.3
24+
jjwtVersion=0.11.5
2525
okhttpVersion=4.12.0
2626
springVersion=6.1.1
2727
springBootVersion=3.2.0

simple-jwt-authzero/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ group = globalGroupId
1818
version = globalVersion
1919

2020
dependencies {
21+
implementation(project(":devkit-utils"))
22+
implementation(project(":guid"))
2123
implementation(project(":simple-jwt-facade"))
2224
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
2325
implementation("com.auth0:java-jwt:$javaJwtVersion")

simple-jwt-jjwt/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ version = globalVersion
1919

2020
dependencies {
2121
implementation(project(":devkit-utils"))
22+
implementation(project(":guid"))
2223
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
2324
implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion")
2425
implementation("io.jsonwebtoken:jjwt-impl:$jjwtVersion")

simple-jwt-spring-boot-starter/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ group = globalGroupId
3535
version = globalVersion
3636

3737
dependencies {
38+
implementation(project(":guid"))
3839
implementation(project(":simple-jwt-facade"))
3940
compileOnly("com.auth0:java-jwt:$javaJwtVersion")
4041
compileOnly(project(":simple-jwt-authzero"))

0 commit comments

Comments
 (0)