Skip to content

Commit b0a0c36

Browse files
committed
Fix build on CI and to produce zip with out version
1 parent 8829fcb commit b0a0c36

File tree

2 files changed

+65
-50
lines changed

2 files changed

+65
-50
lines changed

src/ServiceStackIDEA/.idea/workspace.xml

Lines changed: 62 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServiceStackIDEA/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jar {
4242

4343
task extractIdeaSdk(type: Copy) {
4444
def ideaSdkZipPath;
45-
if(System.getProperty('ideaSdkZip')) {
46-
ideaSdkZipPath = System.getProperty('ideaSdkZip') as String
45+
if(System.getenv('ideaSdkZip')) {
46+
ideaSdkZipPath = System.getenv('ideaSdkZip')
4747
} else {
4848
ideaSdkZipPath = '/lib/idea-sdk.zip';
4949
}
@@ -62,6 +62,7 @@ test {
6262
}
6363

6464
task dist(type: Zip, dependsOn: [jar, test]) {
65+
archiveName = archiveName.replace('-' + version,''); //remove version from output plugin
6566
from configurations.bundle
6667
from jar.archivePath
6768
rename { f -> "lib/${f}" }

0 commit comments

Comments
 (0)