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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
val licenseUrl: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
@@ -24,9 +41,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("devkitCore") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "devkit-core"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
val licenseUrl: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-core"))
|
||||
@@ -28,9 +45,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("devkitUtils") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "devkit-utils"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
name = "DevKit - Utils"
|
||||
|
||||
+4
-4
@@ -23,11 +23,11 @@ jacksonVersion=2.16.0
|
||||
javaJwtVersion=4.4.0
|
||||
jjwtVersion=0.12.5
|
||||
okhttpVersion=4.12.0
|
||||
springVersion=6.1.1
|
||||
springBootVersion=3.2.0
|
||||
springVersion=6.1.3
|
||||
springBootVersion=3.2.3
|
||||
|
||||
sGroupId=cn.org.codecrafters
|
||||
sVersion=1.4.0
|
||||
buildGroupId=cn.org.codecrafters
|
||||
buildVersion=1.4.0
|
||||
projectUrl=https://codecrafters.org.cn/JDevKit
|
||||
projectGithubUrl=https://github.com/CodeCraftersCN/JDevKit
|
||||
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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
val licenseUrl: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-core"))
|
||||
@@ -28,9 +45,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("guid") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "guid"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
@@ -10,8 +27,8 @@ val licenseUrl: String by project
|
||||
val jacksonVersion: String by project
|
||||
val javaJwtVersion: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-utils"))
|
||||
@@ -35,9 +52,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("simpleJwtAuthzero") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "simple-jwt-authzero"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
val licenseUrl: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-core"))
|
||||
@@ -30,9 +47,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("simpleJwtFacade") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "simple-jwt-facade"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
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
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
@@ -10,8 +27,8 @@ val licenseUrl: String by project
|
||||
val jacksonVersion: String by project
|
||||
val jjwtVersion: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-utils"))
|
||||
@@ -37,9 +54,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("simpleJwtJjwt") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "simple-jwt-jjwt"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
name = "Simple JWT :: JJWT"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
import java.net.URI
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
@@ -28,8 +28,8 @@ val javaJwtVersion: String by project
|
||||
val jjwtVersion: String by project
|
||||
val springBootVersion: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":guid"))
|
||||
@@ -60,9 +60,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("simpleJwtSpringBootStarter") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "simple-jwt-spring-boot-starter"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
name = "Simple JWT :: Spring Boot Starter"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import java.net.URI
|
||||
|
||||
val sGroupId: String by project
|
||||
val sVersion: String by project
|
||||
val buildGroupId: String by project
|
||||
val buildVersion: String by project
|
||||
val projectUrl: String by project
|
||||
val projectGithubUrl: String by project
|
||||
val licenseName: String by project
|
||||
val licenseUrl: String by project
|
||||
|
||||
group = sGroupId
|
||||
version = sVersion
|
||||
group = buildGroupId
|
||||
version = buildVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-core"))
|
||||
@@ -28,9 +28,9 @@ tasks.test {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("webcal") {
|
||||
groupId = sGroupId
|
||||
groupId = buildGroupId
|
||||
artifactId = "webcal"
|
||||
version = sVersion
|
||||
version = buildVersion
|
||||
|
||||
pom {
|
||||
name = "DevKit :: WebCal"
|
||||
|
||||
Reference in New Issue
Block a user