diff --git a/README.md b/README.md index 4d34ccb..6e052e4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **build.gradle(.kts)** plugins { - id("org.codeartisans.rat") version "0.4.0" + id("org.nosphere.apache.rat") version "0.4.0" } tasks.rat { diff --git a/build.gradle.kts b/build.gradle.kts index 3917b3d..501209b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,14 +25,22 @@ plugins { id("org.nosphere.honker") version "0.3.0" } -group = "org.codeartisans" -version = "0.4.0-SNAPSHOT" +group = "org.nosphere.apache" +version = "0.4.0" pluginBundle { website = "https://github.com/eskatos/creadur-rat-gradle" vcsUrl = "https://github.com/eskatos/creadur-rat-gradle" description = "Apache RAT (Release Audit Tool) Gradle Plugin" tags = listOf("apache", "release-audit", "license") + plugins { + named("org.nosphere.apache.rat-base") { + displayName = "Apache RAT Base Gradle Plugin" + } + named("org.nosphere.apache.rat") { + displayName = "Apache RAT Gradle Plugin" + } + } } java { diff --git a/src/main/kotlin/org/codeartisans/rat-base.gradle.kts b/src/main/kotlin/org/nosphere/apache/rat-base.gradle.kts similarity index 96% rename from src/main/kotlin/org/codeartisans/rat-base.gradle.kts rename to src/main/kotlin/org/nosphere/apache/rat-base.gradle.kts index 3836239..41341dc 100644 --- a/src/main/kotlin/org/codeartisans/rat-base.gradle.kts +++ b/src/main/kotlin/org/nosphere/apache/rat-base.gradle.kts @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans +package org.nosphere.apache plugins { id("reporting-base") diff --git a/src/main/kotlin/org/codeartisans/rat.gradle.kts b/src/main/kotlin/org/nosphere/apache/rat.gradle.kts similarity index 93% rename from src/main/kotlin/org/codeartisans/rat.gradle.kts rename to src/main/kotlin/org/nosphere/apache/rat.gradle.kts index f82c15f..ab5976c 100644 --- a/src/main/kotlin/org/codeartisans/rat.gradle.kts +++ b/src/main/kotlin/org/nosphere/apache/rat.gradle.kts @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans +package org.nosphere.apache -import org.codeartisans.rat.RatTask +import org.nosphere.apache.rat.RatTask import org.gradle.util.GradleVersion plugins { - id("org.codeartisans.rat-base") + id("org.nosphere.apache.rat-base") } diff --git a/src/main/kotlin/org/codeartisans/rat/RatTask.kt b/src/main/kotlin/org/nosphere/apache/rat/RatTask.kt similarity index 99% rename from src/main/kotlin/org/codeartisans/rat/RatTask.kt rename to src/main/kotlin/org/nosphere/apache/rat/RatTask.kt index ec307ec..0b2e71f 100644 --- a/src/main/kotlin/org/codeartisans/rat/RatTask.kt +++ b/src/main/kotlin/org/nosphere/apache/rat/RatTask.kt @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans.rat +package org.nosphere.apache.rat import org.gradle.api.DefaultTask import org.gradle.api.file.FileTree diff --git a/src/main/kotlin/org/codeartisans/rat/RatWork.kt b/src/main/kotlin/org/nosphere/apache/rat/RatWork.kt similarity index 99% rename from src/main/kotlin/org/codeartisans/rat/RatWork.kt rename to src/main/kotlin/org/nosphere/apache/rat/RatWork.kt index f76b7ba..2b85059 100644 --- a/src/main/kotlin/org/codeartisans/rat/RatWork.kt +++ b/src/main/kotlin/org/nosphere/apache/rat/RatWork.kt @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans.rat +package org.nosphere.apache.rat import org.apache.rat.Defaults import org.apache.rat.Report diff --git a/src/main/resources/org/codeartisans/rat/apache-rat-output-to-html.xsl b/src/main/resources/org/nosphere/apache/rat/apache-rat-output-to-html.xsl similarity index 100% rename from src/main/resources/org/codeartisans/rat/apache-rat-output-to-html.xsl rename to src/main/resources/org/nosphere/apache/rat/apache-rat-output-to-html.xsl diff --git a/src/test/kotlin/org/codeartisans/AbstractPluginTest.kt b/src/test/kotlin/org/nosphere/apache/rat/AbstractPluginTest.kt similarity index 98% rename from src/test/kotlin/org/codeartisans/AbstractPluginTest.kt rename to src/test/kotlin/org/nosphere/apache/rat/AbstractPluginTest.kt index 48ae276..f9c2ebd 100644 --- a/src/test/kotlin/org/codeartisans/AbstractPluginTest.kt +++ b/src/test/kotlin/org/nosphere/apache/rat/AbstractPluginTest.kt @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans +package org.nosphere.apache.rat import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner diff --git a/src/test/kotlin/org/codeartisans/BaseRatPluginTest.kt b/src/test/kotlin/org/nosphere/apache/rat/BaseRatPluginTest.kt similarity index 90% rename from src/test/kotlin/org/codeartisans/BaseRatPluginTest.kt rename to src/test/kotlin/org/nosphere/apache/rat/BaseRatPluginTest.kt index 7e40aa7..4e83d63 100644 --- a/src/test/kotlin/org/codeartisans/BaseRatPluginTest.kt +++ b/src/test/kotlin/org/nosphere/apache/rat/BaseRatPluginTest.kt @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans +package org.nosphere.apache.rat import org.junit.Test import org.junit.runner.RunWith @@ -30,7 +30,7 @@ class BaseRatPluginTest(gradleVersion: String) : AbstractPluginTest(gradleVersio withBuildScript(""" plugins { - id("org.codeartisans.rat-base") + id("org.nosphere.apache.rat-base") } repositories { gradlePluginPortal() @@ -50,12 +50,12 @@ class BaseRatPluginTest(gradleVersion: String) : AbstractPluginTest(gradleVersio withBuildScript(""" plugins { - id("org.codeartisans.rat-base") + id("org.nosphere.apache.rat-base") } repositories { gradlePluginPortal() } - task someRat(type: org.codeartisans.rat.RatTask) { + task someRat(type: org.nosphere.apache.rat.RatTask) { verbose.set(true) inputDir.set(rootDir) excludes = [ diff --git a/src/test/kotlin/org/codeartisans/RatPluginTest.kt b/src/test/kotlin/org/nosphere/apache/rat/RatPluginTest.kt similarity index 96% rename from src/test/kotlin/org/codeartisans/RatPluginTest.kt rename to src/test/kotlin/org/nosphere/apache/rat/RatPluginTest.kt index 59cbc0a..b16a18a 100644 --- a/src/test/kotlin/org/codeartisans/RatPluginTest.kt +++ b/src/test/kotlin/org/nosphere/apache/rat/RatPluginTest.kt @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.codeartisans +package org.nosphere.apache.rat import org.gradle.testkit.runner.TaskOutcome import org.hamcrest.CoreMatchers.equalTo @@ -35,7 +35,7 @@ class RatPluginTest(gradleVersion: String) : AbstractPluginTest(gradleVersion) { withBuildScript(""" plugins { id("base") - id("org.codeartisans.rat") + id("org.nosphere.apache.rat") } repositories { gradlePluginPortal() @@ -79,7 +79,7 @@ class RatPluginTest(gradleVersion: String) : AbstractPluginTest(gradleVersion) { withBuildScript(""" plugins { id("base") - id("org.codeartisans.rat") + id("org.nosphere.apache.rat") } repositories { gradlePluginPortal() @@ -112,7 +112,7 @@ class RatPluginTest(gradleVersion: String) : AbstractPluginTest(gradleVersion) { withBuildScript(""" plugins { id("base") - id("org.codeartisans.rat") + id("org.nosphere.apache.rat") } repositories { gradlePluginPortal()