diff --git a/devkit-core/build.gradle.kts b/devkit-core/build.gradle.kts index 8263422..4ad9fa6 100644 --- a/devkit-core/build.gradle.kts +++ b/devkit-core/build.gradle.kts @@ -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("devkitCore") { - groupId = sGroupId + groupId = buildGroupId artifactId = "devkit-core" - version = sVersion + version = buildVersion pom { name = "DevKit - Core" diff --git a/devkit-utils/build.gradle.kts b/devkit-utils/build.gradle.kts index 06c7c6b..2f37818 100644 --- a/devkit-utils/build.gradle.kts +++ b/devkit-utils/build.gradle.kts @@ -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("devkitUtils") { - groupId = sGroupId + groupId = buildGroupId artifactId = "devkit-utils" - version = sVersion + version = buildVersion pom { name = "DevKit - Utils" diff --git a/gradle.properties b/gradle.properties index 68b4eb9..68a1400 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/guid/build.gradle.kts b/guid/build.gradle.kts index cdc1455..4d3da40 100644 --- a/guid/build.gradle.kts +++ b/guid/build.gradle.kts @@ -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("guid") { - groupId = sGroupId + groupId = buildGroupId artifactId = "guid" - version = sVersion + version = buildVersion pom { name = "DevKit - GUID" diff --git a/property-guard-spring-boot-starter/build.gradle.kts b/property-guard-spring-boot-starter/build.gradle.kts index ff7d9d1..eb398a6 100644 --- a/property-guard-spring-boot-starter/build.gradle.kts +++ b/property-guard-spring-boot-starter/build.gradle.kts @@ -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 diff --git a/simple-jwt-authzero/build.gradle.kts b/simple-jwt-authzero/build.gradle.kts index a576094..f4a1a94 100644 --- a/simple-jwt-authzero/build.gradle.kts +++ b/simple-jwt-authzero/build.gradle.kts @@ -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("simpleJwtAuthzero") { - groupId = sGroupId + groupId = buildGroupId artifactId = "simple-jwt-authzero" - version = sVersion + version = buildVersion pom { name = "Simple JWT :: Auth0" diff --git a/simple-jwt-facade/build.gradle.kts b/simple-jwt-facade/build.gradle.kts index f835b00..ff57ac4 100644 --- a/simple-jwt-facade/build.gradle.kts +++ b/simple-jwt-facade/build.gradle.kts @@ -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("simpleJwtFacade") { - groupId = sGroupId + groupId = buildGroupId artifactId = "simple-jwt-facade" - version = sVersion + version = buildVersion pom { name = "Simple JWT :: Facade" diff --git a/simple-jwt-jjwt/build.gradle.kts b/simple-jwt-jjwt/build.gradle.kts index 75e39e4..e2862cf 100644 --- a/simple-jwt-jjwt/build.gradle.kts +++ b/simple-jwt-jjwt/build.gradle.kts @@ -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("simpleJwtJjwt") { - groupId = sGroupId + groupId = buildGroupId artifactId = "simple-jwt-jjwt" - version = sVersion + version = buildVersion pom { name = "Simple JWT :: JJWT" diff --git a/simple-jwt-spring-boot-starter/build.gradle.kts b/simple-jwt-spring-boot-starter/build.gradle.kts index cfbdde4..6464090 100644 --- a/simple-jwt-spring-boot-starter/build.gradle.kts +++ b/simple-jwt-spring-boot-starter/build.gradle.kts @@ -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("simpleJwtSpringBootStarter") { - groupId = sGroupId + groupId = buildGroupId artifactId = "simple-jwt-spring-boot-starter" - version = sVersion + version = buildVersion pom { name = "Simple JWT :: Spring Boot Starter" diff --git a/webcal/build.gradle.kts b/webcal/build.gradle.kts index 1dd216e..176c533 100644 --- a/webcal/build.gradle.kts +++ b/webcal/build.gradle.kts @@ -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("webcal") { - groupId = sGroupId + groupId = buildGroupId artifactId = "webcal" - version = sVersion + version = buildVersion pom { name = "DevKit :: WebCal"