refactor: Upgrade version to 1.4.0
- Upgrade to 1.4.0 - Upgrade Spring Framework to 6.1.3 to prevent CVE-2024-22233 - Upgrade Spring Boot to 3.2.3 to prevent CVE-2024-22233
This commit is contained in:
@@ -1,14 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
val licenseUrl: String by project
|
val licenseUrl: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
@@ -24,9 +41,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("devkitCore") {
|
create<MavenPublication>("devkitCore") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "devkit-core"
|
artifactId = "devkit-core"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "DevKit - Core"
|
name = "DevKit - Core"
|
||||||
|
|||||||
@@ -1,14 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
val licenseUrl: String by project
|
val licenseUrl: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-core"))
|
implementation(project(":devkit-core"))
|
||||||
@@ -28,9 +45,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("devkitUtils") {
|
create<MavenPublication>("devkitUtils") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "devkit-utils"
|
artifactId = "devkit-utils"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "DevKit - Utils"
|
name = "DevKit - Utils"
|
||||||
|
|||||||
+4
-4
@@ -23,11 +23,11 @@ jacksonVersion=2.16.0
|
|||||||
javaJwtVersion=4.4.0
|
javaJwtVersion=4.4.0
|
||||||
jjwtVersion=0.12.5
|
jjwtVersion=0.12.5
|
||||||
okhttpVersion=4.12.0
|
okhttpVersion=4.12.0
|
||||||
springVersion=6.1.1
|
springVersion=6.1.3
|
||||||
springBootVersion=3.2.0
|
springBootVersion=3.2.3
|
||||||
|
|
||||||
sGroupId=cn.org.codecrafters
|
buildGroupId=cn.org.codecrafters
|
||||||
sVersion=1.4.0
|
buildVersion=1.4.0
|
||||||
projectUrl=https://codecrafters.org.cn/JDevKit
|
projectUrl=https://codecrafters.org.cn/JDevKit
|
||||||
projectGithubUrl=https://github.com/CodeCraftersCN/JDevKit
|
projectGithubUrl=https://github.com/CodeCraftersCN/JDevKit
|
||||||
licenseName=The Apache License, Version 2.0
|
licenseName=The Apache License, Version 2.0
|
||||||
|
|||||||
+23
-6
@@ -1,14 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
val licenseUrl: String by project
|
val licenseUrl: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-core"))
|
implementation(project(":devkit-core"))
|
||||||
@@ -28,9 +45,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("guid") {
|
create<MavenPublication>("guid") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "guid"
|
artifactId = "guid"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "DevKit - GUID"
|
name = "DevKit - GUID"
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val sGroupId: String by project
|
||||||
|
|||||||
@@ -1,7 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
@@ -10,8 +27,8 @@ val licenseUrl: String by project
|
|||||||
val jacksonVersion: String by project
|
val jacksonVersion: String by project
|
||||||
val javaJwtVersion: String by project
|
val javaJwtVersion: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-utils"))
|
implementation(project(":devkit-utils"))
|
||||||
@@ -35,9 +52,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("simpleJwtAuthzero") {
|
create<MavenPublication>("simpleJwtAuthzero") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "simple-jwt-authzero"
|
artifactId = "simple-jwt-authzero"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "Simple JWT :: Auth0"
|
name = "Simple JWT :: Auth0"
|
||||||
|
|||||||
@@ -1,14 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
val licenseUrl: String by project
|
val licenseUrl: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-core"))
|
implementation(project(":devkit-core"))
|
||||||
@@ -30,9 +47,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("simpleJwtFacade") {
|
create<MavenPublication>("simpleJwtFacade") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "simple-jwt-facade"
|
artifactId = "simple-jwt-facade"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "Simple JWT :: Facade"
|
name = "Simple JWT :: Facade"
|
||||||
|
|||||||
@@ -1,7 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2023 CodeCraftersCN.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
@@ -10,8 +27,8 @@ val licenseUrl: String by project
|
|||||||
val jacksonVersion: String by project
|
val jacksonVersion: String by project
|
||||||
val jjwtVersion: String by project
|
val jjwtVersion: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-utils"))
|
implementation(project(":devkit-utils"))
|
||||||
@@ -37,9 +54,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("simpleJwtJjwt") {
|
create<MavenPublication>("simpleJwtJjwt") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "simple-jwt-jjwt"
|
artifactId = "simple-jwt-jjwt"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "Simple JWT :: JJWT"
|
name = "Simple JWT :: JJWT"
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
@@ -28,8 +28,8 @@ val javaJwtVersion: String by project
|
|||||||
val jjwtVersion: String by project
|
val jjwtVersion: String by project
|
||||||
val springBootVersion: String by project
|
val springBootVersion: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":guid"))
|
implementation(project(":guid"))
|
||||||
@@ -60,9 +60,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("simpleJwtSpringBootStarter") {
|
create<MavenPublication>("simpleJwtSpringBootStarter") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "simple-jwt-spring-boot-starter"
|
artifactId = "simple-jwt-spring-boot-starter"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "Simple JWT :: Spring Boot Starter"
|
name = "Simple JWT :: Spring Boot Starter"
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
val sGroupId: String by project
|
val buildGroupId: String by project
|
||||||
val sVersion: String by project
|
val buildVersion: String by project
|
||||||
val projectUrl: String by project
|
val projectUrl: String by project
|
||||||
val projectGithubUrl: String by project
|
val projectGithubUrl: String by project
|
||||||
val licenseName: String by project
|
val licenseName: String by project
|
||||||
val licenseUrl: String by project
|
val licenseUrl: String by project
|
||||||
|
|
||||||
group = sGroupId
|
group = buildGroupId
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":devkit-core"))
|
implementation(project(":devkit-core"))
|
||||||
@@ -28,9 +28,9 @@ tasks.test {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("webcal") {
|
create<MavenPublication>("webcal") {
|
||||||
groupId = sGroupId
|
groupId = buildGroupId
|
||||||
artifactId = "webcal"
|
artifactId = "webcal"
|
||||||
version = sVersion
|
version = buildVersion
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "DevKit :: WebCal"
|
name = "DevKit :: WebCal"
|
||||||
|
|||||||
Reference in New Issue
Block a user