Skip to content

Commit

Permalink
build & dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisAerts committed Mar 16, 2024
1 parent 336deaa commit 549cfd5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ subprojects {

publications {
// will be published be "pluginMaven"
if (project.name.equals("plugin-gradle")) return
if (project.name.equals("xomda-plugin-gradle")) return
maven(MavenPublication) {
version = libs.versions.xomda.get()
group 'org.xomda'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void apply(final Project project) {
// the version should be the same as the version of the plugin
project.getBuildscript().getConfigurations().stream().flatMap(c -> c.getDependencies().stream())
.filter((final Dependency dep) -> dep.getName().startsWith(XOMDA_GROUP)).findFirst().ifPresent(d -> {
Stream.of(XOMDA_GROUP + ":core", XOMDA_GROUP + ":api")
Stream.of(XOMDA_GROUP + ":xomda-core", XOMDA_GROUP + ":xomda-api")
.map(s -> s + ":" + d.getVersion())
.forEach(xomdaDependency -> {
final Dependency dep = project.getDependencies().create(xomdaDependency);
Expand Down
4 changes: 0 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,4 @@ void includeDir(String dir) {
}

includeDir('lib')
// includeDir('plugin')

// update the plugin names
// project(":plugin").children.each { p -> p.name = "plugin-" + p.name }

0 comments on commit 549cfd5

Please sign in to comment.