Skip to content

chore: Relicense from LGPL-3.0 to MPL-2.0 and add automated license headers#2

Merged
metabrixkt merged 3 commits intomainfrom
task/mozilla-public-license-2.0
Feb 19, 2026
Merged

chore: Relicense from LGPL-3.0 to MPL-2.0 and add automated license headers#2
metabrixkt merged 3 commits intomainfrom
task/mozilla-public-license-2.0

Conversation

@metabrixkt
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-conventions Gradle convention plugin.
  • Split publishing/signing configuration into a dedicated publishing-conventions convention 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.

Comment thread buildSrc/src/main/kotlin/publishing-conventions.gradle.kts Outdated
Comment thread buildSrc/src/main/kotlin/publishing-conventions.gradle.kts Outdated
@metabrixkt metabrixkt force-pushed the task/mozilla-public-license-2.0 branch 2 times, most recently from 69839d4 to e774203 Compare February 19, 2026 18:35
@metabrixkt metabrixkt merged commit 739df07 into main Feb 19, 2026
1 check passed
@metabrixkt metabrixkt deleted the task/mozilla-public-license-2.0 branch February 19, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants