File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,6 @@ subprojects {
8383 }
8484 }
8585 }
86-
87- val gprUser = project.findProperty(" gpr.user" ) as ? String ? : System .getenv(" GITHUB_ACTOR" )
88- val gprToken = project.findProperty(" gpr.key" ) as ? String ? : System .getenv(" GITHUB_TOKEN" )
89- if (gprUser.isNotBlank() && gprToken.isNotBlank()) {
90- maven {
91- name = " GitHubPackages"
92- url = uri(" https://maven.pkg.github.com/modelix/modelix.text-editor" )
93- credentials {
94- username = gprUser
95- password = gprToken
96- }
97- }
98- }
9986 }
10087 }
10188}
@@ -177,7 +164,22 @@ val packageAllPlugins by tasks.registering(Zip::class) {
177164 }
178165}
179166
167+ // publish all-editor-plugins.zip to GitHub packages to make it appear on the releases page
180168publishing {
169+ repositories {
170+ val gprUser = project.findProperty(" gpr.user" ) as ? String ? : System .getenv(" GITHUB_ACTOR" )
171+ val gprToken = project.findProperty(" gpr.key" ) as ? String ? : System .getenv(" GITHUB_TOKEN" )
172+ if (gprUser.isNotBlank() && gprToken.isNotBlank()) {
173+ maven {
174+ name = " GitHubPackages"
175+ url = uri(" https://maven.pkg.github.com/modelix/modelix.text-editor" )
176+ credentials {
177+ username = gprUser
178+ password = gprToken
179+ }
180+ }
181+ }
182+ }
181183 publications {
182184 create<MavenPublication >(" maven" ) {
183185 artifactId = " all-editor-plugins"
Original file line number Diff line number Diff line change @@ -7,12 +7,15 @@ plugins {
77 alias(libs.plugins.modelix.mps.buildtools)
88}
99
10+ group = " org.modelix.mps.modules"
11+
1012mpsBuild {
1113 dependsOn(" :editor-common-mps:buildPlugin" )
1214 dependsOn(" :projectional-editor-ssr-mps:buildPlugin" )
1315 dependsOn(" :react-ssr-mps:buildPlugin" )
1416 mpsHome = mpsHomeDir.get().asFile.absolutePath
1517 javaHome = Jvm .current().javaHome
18+ disableParentPublication()
1619
1720 search(" ../editor-common-mps/build/idea-sandbox/plugins/editor-common-mps" )
1821 search(" ../projectional-editor-ssr-mps/build/idea-sandbox/plugins/projectional-editor-ssr-mps" )
You can’t perform that action at this time.
0 commit comments