Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- publishing {
- publications {
- if (plugins.hasPlugin('war')) {
- webApp(MavenPublication) {
- from components.web
- }
- } else if (plugins.hasPlugin('java')) {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
- }
- repositories {
- maven {
- url 'http://ryjek.krakow.comarch:2000/content/repositories/snapshots'
- credentials {
- username = project.credentials.("snapshots.username")
- password = project.credentials.("snapshots.password")
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement