diff --git a/.github/gcp.env b/.github/gcp.env index 886f59b..83cb7ee 100755 --- a/.github/gcp.env +++ b/.github/gcp.env @@ -2,5 +2,5 @@ # This file is generated. Do not edit manually. # ---------------------------------------- GCP_PROJECT_ID=codebandits -GCP_SERVICE_ACCOUNT=repo-gradle-container-plugin@codebandits.iam.gserviceaccount.com +GCP_SERVICE_ACCOUNT=repo-container-gradle-plugin@codebandits.iam.gserviceaccount.com GCP_WORKLOAD_IDENTITY_PROVIDER=projects/123105624463/locations/global/workloadIdentityPools/automation/providers/github-codebandits diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9d4bbaf..9116276 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,7 +45,7 @@ jobs: publish: name: Publish - if: github.ref == 'refs/heads/main' && github.repository == 'codebandits/gradle-container-plugin' + if: github.ref == 'refs/heads/main' && github.repository == 'codebandits/container-gradle-plugin' needs: [ check, validate-release ] runs-on: ubuntu-latest permissions: diff --git a/.sops.yaml b/.sops.yaml index ef178f6..5b513f7 100755 --- a/.sops.yaml +++ b/.sops.yaml @@ -1,3 +1,3 @@ --- creation_rules: - - gcp_kms: projects/codebandits/locations/global/keyRings/sops-zoavn/cryptoKeys/repo-gradle-container-plugin-sops + - gcp_kms: projects/codebandits/locations/global/keyRings/sops-zoavn/cryptoKeys/repo-container-gradle-plugin-sops diff --git a/README.md b/README.md index 7babe4c..99c70c5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Container +# Container Gradle Plugin Container is a Gradle plugin that enhances build portability, reproducibility, and flexibility by integrating containers into Gradle tasks. It provides a declarative and familiar way to run task operations inside containers and declare containers as task inputs and outputs. diff --git a/build.gradle.kts b/build.gradle.kts index d5b7490..695dd3e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -101,8 +101,8 @@ group = "dev.codebandits" gradlePlugin { plugins { create("container") { - website = "https://github.com/codebandits/gradle-container-plugin" - vcsUrl = "https://github.com/codebandits/gradle-container-plugin" + website = "https://github.com/codebandits/container-gradle-plugin" + vcsUrl = "https://github.com/codebandits/container-gradle-plugin" id = "dev.codebandits.container" displayName = "Container" description = listOf( diff --git a/settings.gradle.kts b/settings.gradle.kts index 7a03f45..a51013b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,4 +1,4 @@ -rootProject.name = "gradle-container-plugin" +rootProject.name = "container-gradle-plugin" dependencyResolutionManagement { @Suppress("UnstableApiUsage") diff --git a/src/testPlatforms/kotlin/dev/codebandits/helpers/setup.kt b/src/testPlatforms/kotlin/dev/codebandits/helpers/setup.kt index 5591c91..c8a885c 100644 --- a/src/testPlatforms/kotlin/dev/codebandits/helpers/setup.kt +++ b/src/testPlatforms/kotlin/dev/codebandits/helpers/setup.kt @@ -8,8 +8,8 @@ import kotlin.io.path.createDirectory internal fun GradleProjectTest.setupPluginLibsDir() { val hostProjectRoot = File(System.getenv("PROJECT_ROOT")) val libsDirectory = projectDirectory.resolve("libs").createDirectory() - hostProjectRoot.resolve("build/libs/gradle-container-plugin.jar") - .copyRecursively(libsDirectory.resolve("gradle-container-plugin.jar").toFile()) + hostProjectRoot.resolve("build/libs/container-gradle-plugin.jar") + .copyRecursively(libsDirectory.resolve("container-gradle-plugin.jar").toFile()) } internal fun Path.configureBuildGradlePluginFromLibsDir() { @@ -18,7 +18,7 @@ internal fun Path.configureBuildGradlePluginFromLibsDir() { import dev.codebandits.ContainerRunTask buildscript { dependencies { - classpath files('libs/gradle-container-plugin.jar') + classpath files('libs/container-gradle-plugin.jar') } } apply plugin: 'dev.codebandits.container' @@ -32,7 +32,7 @@ internal fun Path.configureBuildGradleKtsPluginFromLibsDir() { import dev.codebandits.ContainerRunTask buildscript { dependencies { - classpath(files("libs/gradle-container-plugin.jar")) + classpath(files("libs/container-gradle-plugin.jar")) } } apply(plugin = "dev.codebandits.container") diff --git a/src/testShared/kotlin/dev/codebandits/GradleProjectTest.kt b/src/testShared/kotlin/dev/codebandits/GradleProjectTest.kt index 683561a..b278d76 100644 --- a/src/testShared/kotlin/dev/codebandits/GradleProjectTest.kt +++ b/src/testShared/kotlin/dev/codebandits/GradleProjectTest.kt @@ -11,7 +11,7 @@ abstract class GradleProjectTest { val buildGradleKtsFile by lazy { projectDirectory.resolve("build.gradle.kts").createFile() } val settingsGradleKtsFile by lazy { projectDirectory.resolve("settings.gradle.kts").createFile() } val buildGradleFile by lazy { projectDirectory.resolve("build.gradle").createFile() } - val imageName = "test-gradle-container-plugin" + val imageName = "test-container-gradle-plugin" fun generateUniqueImageReference() = "$imageName:test-image-${UUID.randomUUID()}" @AfterEach