Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions mps-cli-gradle-plugin/plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {

// Project versions
ext.major = '0'
ext.minor = '17'
ext.minor = '18'

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down Expand Up @@ -97,23 +97,23 @@ application {
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mbeddr/mps-cli")
if(project.hasProperty("gpr.token")) {
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.token")
}
}
}
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mbeddr/mps-cli")
if (project.hasProperty("gpr.token")) {
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.token")
}
}
}
}

publications {
maven(MavenPublication) {
groupId = 'com.mbeddr.mps_cli'
artifactId = 'gradle.plugin'

from components.java
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class ConeOfInfluenceComputerTask extends DefaultTask {
List<SModuleBase> affectedSolutionsAndUpstreamDependencies

ConeOfInfluenceComputerTask() {
group "MPS-CLI"
description "computes the solutions potentially affected (and their dependencies) of the changes from current branch compared to 'referenceBranchName' from the 'gitRootRepoLocation'"
group = "MPS-CLI"
description = "computes the solutions potentially affected (and their dependencies) of the changes from current branch compared to 'referenceBranchName' from the 'gitRootRepoLocation'"
}

@TaskAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class ModelBuilderTask extends DefaultTask {
SRepository repository;

ModelBuilderTask() {
group("MPS-CLI")
description("build the object model based on MPS files from 'sourceDir'")
group = "MPS-CLI"
description = "build the object model based on MPS files from 'sourceDir'"
}

@TaskAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class ModelDependenciesBuilderTask extends DefaultTask {
Map<SModel, Set<SModel>> model2AllDownstreamDependencies = [:];

ModelDependenciesBuilderTask() {
group("MPS-CLI")
description("build the upstream/downstream dependencies for all models based on MPS files from 'sourceDir' list")
group = "MPS-CLI"
description = "build the upstream/downstream dependencies for all models based on MPS files from 'sourceDir' list"
}

@TaskAction
Expand All @@ -33,4 +33,4 @@ class ModelDependenciesBuilderTask extends DefaultTask {
(model2AllUpstreamDependencies, model2AllDownstreamDependencies) =
EntityDependenciesBuilder.buildModelDependencies(repository)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class ModuleDependenciesBuilderTask extends DefaultTask {
Map<SModuleBase, Set<SModuleBase>> module2AllDownstreamDependencies = [:];

ModuleDependenciesBuilderTask() {
group("MPS-CLI")
description("build the upstream/downstream dependencies for all modules based on MPS files from 'sourceDir' list")
group = "MPS-CLI"
description = "build the upstream/downstream dependencies for all modules based on MPS files from 'sourceDir' list"
}

@TaskAction
Expand All @@ -33,4 +33,4 @@ class ModuleDependenciesBuilderTask extends DefaultTask {
(module2AllUpstreamDependencies, module2AllDownstreamDependencies) =
EntityDependenciesBuilder.buildModuleDependencies(repository)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class PrintLanguageInfoTask extends DefaultTask {
String destinationDir;

PrintLanguageInfoTask() {
group "MPS-CLI"
description "print information about the DSLs"
group = "MPS-CLI"
description = "print information about the DSLs"
dependsOn "buildModel"
}

Expand Down
Loading