chore: Relicense from LGPL-3.0 to MPL-2.0 and add automated license headers#2
Merged
metabrixkt merged 3 commits intomainfrom Feb 19, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR relicenses the project from LGPL-3.0 to MPL-2.0 and introduces Gradle convention plugins to automate license headers and centralize publishing configuration.
Changes:
- Replace the repository LICENSE text with MPL-2.0 and update publishing metadata accordingly.
- Add Spotless-based automated license header enforcement via a
licensing-conventionsGradle convention plugin. - Split publishing/signing configuration into a dedicated
publishing-conventionsconvention plugin and apply it to v3 modules.
Reviewed changes
Copilot reviewed 36 out of 36 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
LICENSE |
Replaces LGPL-3.0 license text with MPL-2.0. |
config/license-header.txt |
Adds the template used for automated license headers. |
gradle/libs.versions.toml |
Adds the Spotless Gradle plugin to the version catalog. |
buildSrc/src/main/kotlin/licensing-conventions.gradle.kts |
New convention plugin configuring Spotless license headers for Kotlin and Gradle Kotlin DSL files. |
buildSrc/src/main/kotlin/publishing-conventions.gradle.kts |
New convention plugin centralizing Maven publishing + signing + POM metadata. |
buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts |
Removes embedded publishing/signing configuration (now handled by publishing-conventions). |
v3/api/build.gradle.kts |
Applies new licensing-conventions and publishing-conventions plugins; adds license header. |
v3/impl-java/build.gradle.kts |
Applies new licensing-conventions and publishing-conventions plugins; adds license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/ProxyCheckApi.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/ProxyCheckApiException.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/common/CidrIpRange.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/common/ComparableInetAddress.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/request/RawRequestConfiguration.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/request/RequestConfiguration.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/AddressResult.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/AttackType.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Currency.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/DetectionHistory.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Detections.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/DeviceEstimate.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Location.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Network.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Operator.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/OperatorPolicies.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/OperatorService.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/RawResponse.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/Response.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/model/response/ResponseStatus.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/util/Extensions.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/util/IpUtil.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/util/VersionInfo.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/util/codec/Codecs.kt |
Adds MPL-2.0 SPDX license header. |
v3/api/src/main/kotlin/ru/epserv/proxycheck/v3/api/util/codec/KJsonOps.kt |
Adds MPL-2.0 SPDX license header (before file annotation). |
v3/impl-java/src/main/kotlin/ru/epserv/proxycheck/v3/impl/ProxyCheckApiImpl.kt |
Adds MPL-2.0 SPDX license header. |
v3/impl-java/src/main/kotlin/ru/epserv/proxycheck/v3/impl/ProxyCheckApiImplConfiguration.kt |
Adds MPL-2.0 SPDX license header. |
v3/impl-java/src/main/kotlin/ru/epserv/proxycheck/v3/impl/VersionInfoImpl.kt |
Adds MPL-2.0 SPDX license header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
69839d4 to
e774203
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.