From b1dbc1c0e9e0a40bb3bf40a9ad39bd43189b2d55 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Wed, 2 Apr 2025 20:55:21 +0800 Subject: [PATCH] feat: added simple-jwt module to create, verify and read JSON Web Token natively --- settings.gradle.kts | 1 + simple-jwt/build.gradle.kts | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 simple-jwt/build.gradle.kts diff --git a/settings.gradle.kts b/settings.gradle.kts index 794f015..383643d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -25,6 +25,7 @@ include( "key-pair-loader", "map-util-unsafe", "num4j", + "simple-jwt", "simple-jwt-facade", "simple-jwt-authzero", "simple-jwt-spring-boot-starter", diff --git a/simple-jwt/build.gradle.kts b/simple-jwt/build.gradle.kts new file mode 100644 index 0000000..cf66377 --- /dev/null +++ b/simple-jwt/build.gradle.kts @@ -0,0 +1,26 @@ +plugins { + id("java") +} + +val artefactVersion: String by project + +group = "com.onixbyte" +version = artefactVersion + +repositories { + mavenCentral() +} + +dependencies { + val jacksonVersion: String by project + implementation(project(":devkit-core")) + implementation(project(":devkit-utils")) + implementation("com.fasterxml.jackson.core:jackson-core:$jacksonVersion") + implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion") + testImplementation(platform("org.junit:junit-bom:5.10.0")) + testImplementation("org.junit.jupiter:junit-jupiter") +} + +tasks.test { + useJUnitPlatform() +} \ No newline at end of file