Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build #14 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ out
.settings
bin
.DS_Store
.java-version
5 changes: 3 additions & 2 deletions eventuate-plugins-gradle-publish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ repositories {
}
}

dependencies {
implementation "io.github.gradle-nexus:publish-plugin:1.0.0"
apply plugin: 'java'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without line 8. I got the error mentioned in #14


dependencies {
implementation "io.github.gradle-nexus:publish-plugin:1.1.0"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.eventuate.plugins.gradle.publish

import org.gradle.StartParameter
import org.gradle.api.tasks.GradleBuild

class PublishEventuateDockerImagesTask extends GradleBuild {
Expand All @@ -12,7 +11,7 @@ class PublishEventuateDockerImagesTask extends GradleBuild {
if (branch == "master") {
def version = project.version.replace("-SNAPSHOT", ".BUILD-SNAPSHOT")
startParameter.projectProperties = ["dockerImageTag" : version, "version" : version]
setTasks(["publishComposeBuild", , "publishComposePush"])
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't compile because of the extra ","

setTasks(["publishComposeBuild", "publishComposePush"])
} else if (branch.startsWith("wip-")) {
def version = GitBranchUtil.getWipPublishingVersion(project)
startParameter.projectProperties = ["dockerImageTag" : version, "version" : version]
Expand Down