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

Implement plugin for publishing Spring Boot jar #9

Open
cer opened this issue Mar 30, 2021 · 0 comments
Open

Implement plugin for publishing Spring Boot jar #9

cer opened this issue Mar 30, 2021 · 0 comments

Comments

@cer
Copy link
Collaborator

cer commented Mar 30, 2021

configurations {
    [apiElements, runtimeElements].each {
        it.outgoing.artifacts.removeIf {
            it.buildDependencies.getDependencies(null).contains(jar)
        }
        it.outgoing.artifact(bootJar)
    }
}

publish.dependsOn(tasks.findByName('bootRepackage') == null ? tasks['bootJar'] : tasks['bootRepackage'])

See this discussion

cer added a commit to eventuate-tram/eventuate-tram-messaging-http that referenced this issue Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant