File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
plugins/graphql-kotlin-gradle-plugin Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 3131 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
3232 GPG_SECRET : ${{ secrets.GPG_SECRET }}
3333 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
34+ PLUGIN_PORTAL_KEY : ${{ secrets.PLUGIN_PORTAL_KEY }}
35+ PLUGIN_PORTAL_SECRET : ${{ secrets.PLUGIN_PORTAL_SECRET }}
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ tasks {
208208 delayBetweenRetriesInMillis = 5000
209209 }
210210
211- val publish by getting
212- publish.dependsOn(" :initializeSonatypeStagingRepository" )
211+ publish {
212+ dependsOn(" :initializeSonatypeStagingRepository" )
213+ }
213214}
Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ pluginBundle {
3939}
4040
4141tasks {
42+ publishPlugins {
43+ doFirst {
44+ System .setProperty(" gradle.publish.key" , System .getenv(" PLUGIN_PORTAL_KEY" ))
45+ System .setProperty(" gradle.publish.secret" , System .getenv(" PLUGIN_PORTAL_SECRET" ))
46+ }
47+ }
48+ publish {
49+ dependsOn(" :plugins:graphql-kotlin-gradle-plugin:publishPlugins" )
50+ }
4251 test {
4352 systemProperty(" graphQLKotlinVersion" , project.version)
4453 systemProperty(" kotlinVersion" , kotlinVersion)
You can’t perform that action at this time.
0 commit comments