Skip to content

Commit

Permalink
Rename the project to container-gradle-plugin
Browse files Browse the repository at this point in the history
Authored-by: Leonhardt Koepsell <[email protected]>
  • Loading branch information
lnhrdt committed Nov 6, 2024
1 parent c26cccd commit d1c0a7e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/gcp.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# This file is generated. Do not edit manually.
# ----------------------------------------
GCP_PROJECT_ID=codebandits
GCP_SERVICE_ACCOUNT=repo-gradle-[email protected]
GCP_SERVICE_ACCOUNT=repo-container-gradle[email protected]
GCP_WORKLOAD_IDENTITY_PROVIDER=projects/123105624463/locations/global/workloadIdentityPools/automation/providers/github-codebandits
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .sops.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = "gradle-container-plugin"
rootProject.name = "container-gradle-plugin"

dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
Expand Down
8 changes: 4 additions & 4 deletions src/testPlatforms/kotlin/dev/codebandits/helpers/setup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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'
Expand All @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/testShared/kotlin/dev/codebandits/GradleProjectTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1c0a7e

Please sign in to comment.