Commit 227594e 1 parent 8953798 commit 227594e Copy full SHA for 227594e
File tree 7 files changed +30
-30
lines changed
mps-cli-gradle-plugin/plugin
src/main/groovy/org/mps_cli/gradle/plugin
7 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 1
1
name : MPS-CLI_CI
2
2
3
- on :
3
+ on :
4
4
push :
5
5
branches :
6
6
- ' main'
@@ -28,30 +28,30 @@ jobs:
28
28
- name : Set up JDK 11
29
29
uses : actions/setup-java@v1
30
30
with :
31
- java-version : 11
31
+ java-version : 11
32
32
- name : Build MPS-CLI and Test
33
33
uses : gradle/gradle-build-action@v2
34
- with :
34
+ with :
35
35
arguments : :plugin:functionalTest --debug
36
36
wrapper-cache-enabled : true
37
37
dependencies-cache-enabled : true
38
38
dependencies-cache-key : gradle/dependency-locks/**
39
39
dependencies-cache-exact : true
40
40
configuration-cache-enabled : true
41
41
build-root-directory : mps-cli-gradle-plugin
42
- - uses : actions/upload-artifact@v3
42
+ - uses : actions/upload-artifact@v4
43
43
if : failure()
44
44
with :
45
45
name : gradle-test-report
46
46
path : ./mps-cli-gradle-plugin/plugin/build/reports/
47
47
- name : Publish
48
48
uses : gradle/gradle-build-action@v2
49
49
if : github.event_name == 'push' && github.ref_name == 'main'
50
- with :
50
+ with :
51
51
arguments : :plugin:publish -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
52
52
wrapper-cache-enabled : true
53
53
dependencies-cache-enabled : true
54
54
dependencies-cache-key : gradle/dependency-locks/**
55
55
dependencies-cache-exact : true
56
56
configuration-cache-enabled : true
57
- build-root-directory : mps-cli-gradle-plugin
57
+ build-root-directory : mps-cli-gradle-plugin
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ plugins {
20
20
21
21
// Project versions
22
22
ext. major = ' 0'
23
- ext. minor = ' 17 '
23
+ ext. minor = ' 18 '
24
24
25
25
sourceCompatibility = 1.8
26
26
targetCompatibility = 1.8
@@ -97,23 +97,23 @@ application {
97
97
publishing {
98
98
repositories {
99
99
maven {
100
- name = " GitHubPackages"
101
- url = uri(" https://maven.pkg.github.com/mbeddr/mps-cli" )
102
- if (project. hasProperty(" gpr.token" )) {
103
- credentials {
104
- username = project. findProperty(" gpr.user" )
105
- password = project. findProperty(" gpr.token" )
106
- }
107
- }
108
- }
100
+ name = " GitHubPackages"
101
+ url = uri(" https://maven.pkg.github.com/mbeddr/mps-cli" )
102
+ if (project. hasProperty(" gpr.token" )) {
103
+ credentials {
104
+ username = project. findProperty(" gpr.user" )
105
+ password = project. findProperty(" gpr.token" )
106
+ }
107
+ }
108
+ }
109
109
}
110
110
111
111
publications {
112
112
maven(MavenPublication ) {
113
113
groupId = ' com.mbeddr.mps_cli'
114
114
artifactId = ' gradle.plugin'
115
-
115
+
116
116
from components. java
117
117
}
118
118
}
119
- }
119
+ }
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ class ConeOfInfluenceComputerTask extends DefaultTask {
39
39
List<SModuleBase > affectedSolutionsAndUpstreamDependencies
40
40
41
41
ConeOfInfluenceComputerTask () {
42
- group " MPS-CLI"
43
- description " computes the solutions potentially affected (and their dependencies) of the changes from current branch compared to 'referenceBranchName' from the 'gitRootRepoLocation'"
42
+ group = " MPS-CLI"
43
+ description = " computes the solutions potentially affected (and their dependencies) of the changes from current branch compared to 'referenceBranchName' from the 'gitRootRepoLocation'"
44
44
}
45
45
46
46
@TaskAction
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ class ModelBuilderTask extends DefaultTask {
16
16
SRepository repository;
17
17
18
18
ModelBuilderTask () {
19
- group( " MPS-CLI" )
20
- description( " build the object model based on MPS files from 'sourceDir'" )
19
+ group = " MPS-CLI"
20
+ description = " build the object model based on MPS files from 'sourceDir'"
21
21
}
22
22
23
23
@TaskAction
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ class ModelDependenciesBuilderTask extends DefaultTask {
21
21
Map<SModel , Set<SModel > > model2AllDownstreamDependencies = [:];
22
22
23
23
ModelDependenciesBuilderTask () {
24
- group( " MPS-CLI" )
25
- description( " build the upstream/downstream dependencies for all models based on MPS files from 'sourceDir' list" )
24
+ group = " MPS-CLI"
25
+ description = " build the upstream/downstream dependencies for all models based on MPS files from 'sourceDir' list"
26
26
}
27
27
28
28
@TaskAction
@@ -33,4 +33,4 @@ class ModelDependenciesBuilderTask extends DefaultTask {
33
33
(model2AllUpstreamDependencies, model2AllDownstreamDependencies) =
34
34
EntityDependenciesBuilder . buildModelDependencies(repository)
35
35
}
36
- }
36
+ }
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ class ModuleDependenciesBuilderTask extends DefaultTask {
21
21
Map<SModuleBase , Set<SModuleBase > > module2AllDownstreamDependencies = [:];
22
22
23
23
ModuleDependenciesBuilderTask () {
24
- group( " MPS-CLI" )
25
- description( " build the upstream/downstream dependencies for all modules based on MPS files from 'sourceDir' list" )
24
+ group = " MPS-CLI"
25
+ description = " build the upstream/downstream dependencies for all modules based on MPS files from 'sourceDir' list"
26
26
}
27
27
28
28
@TaskAction
@@ -33,4 +33,4 @@ class ModuleDependenciesBuilderTask extends DefaultTask {
33
33
(module2AllUpstreamDependencies, module2AllDownstreamDependencies) =
34
34
EntityDependenciesBuilder . buildModuleDependencies(repository)
35
35
}
36
- }
36
+ }
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ class PrintLanguageInfoTask extends DefaultTask {
12
12
String destinationDir;
13
13
14
14
PrintLanguageInfoTask () {
15
- group " MPS-CLI"
16
- description " print information about the DSLs"
15
+ group = " MPS-CLI"
16
+ description = " print information about the DSLs"
17
17
dependsOn " buildModel"
18
18
}
19
19
You can’t perform that action at this time.
0 commit comments