File tree Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Original file line number Diff line number Diff line change @@ -42,18 +42,28 @@ jobs:
4242 run : ./gradlew clean publishToMavenLocal -Dgradle.cache.remote.push=false
4343 env :
4444 DISABLE_REQUIRED_SIGNING : true
45- - name : Modify the project to use the locally published plugin
45+ - name : Create a test project
4646 run : |
47- sed -i '1i\
48- pluginManagement {\
49- repositories {\
50- mavenLocal()\
51- gradlePluginPortal()\
52- mavenCentral()\
53- }}\
54- ' settings.gradle.kts
55- sed -i -E 's/(id\("com.gradle.common-custom-user-data-gradle-plugin"\) version )"2[0-9\.]*"/\1"2+"/' settings.gradle.kts
47+ mkdir -p test-project
48+ cd test-project
49+ echo """
50+ pluginManagement {
51+ repositories {
52+ mavenLocal()
53+ gradlePluginPortal()
54+ }
55+ }
56+
57+ plugins {
58+ id(\"com.gradle.develocity\") version \"4+\"
59+ id(\"com.gradle.common-custom-user-data-gradle-plugin\") version \"2+\"
60+ }
61+
62+ develocity {
63+ server = \"https://ge.solutions-team.gradle.com\"
64+ }
65+ """ > settings. gradle.kts
5666
5767 - name : Run a build with the locally published plugin
5868 id : build-with-local-plugin
59- run : ./gradlew clean build -i -Dgradle.cache.remote.push=false
69+ run : gradle help
You can’t perform that action at this time.
0 commit comments