This repository was archived by the owner on Oct 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +19
-15
lines changed
main/java/com/google/android/secrets_gradle_plugin
test/kotlin/com/google/android/secrets_gradle_plugin Expand file tree Collapse file tree 10 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 3434 - name : Run tests
3535 run : |
3636 echo "Running unit tests"
37- ./gradlew :plugin :build check test -x lint --stacktrace
37+ ./gradlew :secrets_gradle_plugin :build check test -x lint --stacktrace
Original file line number Diff line number Diff line change @@ -6,19 +6,23 @@ plugins:
66 - - "@google/semantic-release-replace-plugin"
77 - replacements:
88 - files:
9- - "./plugin /build.gradle.kts"
9+ - "./secrets_gradle_plugin /build.gradle.kts"
1010 from: "const val version = \".*\""
1111 to: "const val version = \"${nextRelease.version}\""
1212 - files:
1313 - "README.md"
14- from: "version \"[0-9].[0-9] \""
14+ from: "version \".* \""
1515 to: "version \"${nextRelease.version}\""
16+ - files:
17+ - "README.md"
18+ from: "version '.*'"
19+ to: "version '${nextRelease.version}'"
1620 - - "@semantic-release/exec"
1721 - prepareCmd: "./gradlew build --warn --stacktrace"
1822 publishCmd: "./gradlew publishPlugins --warn --stacktrace"
1923 - - "@semantic-release/git"
2024 - assets:
21- - "./plugin /build.gradle.kts"
25+ - "./secrets_gradle_plugin /build.gradle.kts"
2226 - "*.md"
2327 - "@semantic-release/github"
2428options:
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ In your app-level `build.gradle` file:
2121Groovy:
2222``` groovy
2323plugins {
24- id 'com.google.secrets_gradle_plugin' version '0.6 '
24+ id 'com.google.android. secrets_gradle_plugin' version '1.0 '
2525}
2626```
2727
2828Kotlin:
2929``` groovy
3030plugins {
31- id("com.google.secrets_gradle_plugin") version "0.6 "
31+ id("com.google.android. secrets_gradle_plugin") version "1.0 "
3232}
3333```
3434
File renamed without changes.
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ publishing {
6969}
7070
7171object PluginInfo {
72- const val group = " com.google"
72+ const val group = " com.google.android "
7373 const val artifactId = " secrets_gradle_plugin"
7474 const val name = " secretsGradlePlugin"
75- const val version = " 0.6 "
76- const val implementationClass = " com.google.secrets_gradle_plugin.SecretsPlugin"
75+ const val version = " 1.0 "
76+ const val implementationClass = " com.google.android. secrets_gradle_plugin.SecretsPlugin"
7777}
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- package com.google.secrets_gradle_plugin
15+ package com.google.android. secrets_gradle_plugin
1616
1717import com.android.build.gradle.AppExtension
1818import com.android.build.gradle.LibraryExtension
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- package com.google.secrets_gradle_plugin
15+ package com.google.android. secrets_gradle_plugin
1616
1717import com.android.build.gradle.internal.core.InternalBaseVariant
1818import org.gradle.api.Plugin
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- package com.google.secrets_gradle_plugin
15+ package com.google.android. secrets_gradle_plugin
1616
1717/* *
1818 * Configuration object for [SecretsPlugin].
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- package com.google.secrets_gradle_plugin
15+ package com.google.android. secrets_gradle_plugin
1616
1717import com.android.build.gradle.internal.core.InternalBaseVariant
1818import com.nhaarman.mockitokotlin2.doReturn
@@ -57,7 +57,7 @@ class SecretsPluginTest {
5757 variant = mock() {
5858 on { mergedFlavor } doReturn flavor
5959 }
60- project.pluginManager.apply (" com.google.secrets_gradle_plugin" )
60+ project.pluginManager.apply (" com.google.android. secrets_gradle_plugin" )
6161 }
6262
6363 @Test(expected = ProjectConfigurationException ::class )
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- include(" :plugin " , " :sample-app" )
15+ include(" :secrets_gradle_plugin " , " :sample-app" )
1616
1717pluginManagement {
1818 repositories {
You can’t perform that action at this time.
0 commit comments