-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from xenit-eu/ALFREDOPS-849-h
ALFREDOPS-849 remove pluginManager.withPlugin from publish gradle
- Loading branch information
Showing
3 changed files
with
40 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,54 @@ | ||
pluginManager.withPlugin('maven-publish') { | ||
apply plugin: 'signing' | ||
apply plugin: 'signing' | ||
apply plugin: 'maven-publish' | ||
|
||
publishing { | ||
publishing { | ||
|
||
repositories { | ||
if ("${project.version}".endsWith('-SNAPSHOT')) { | ||
sonatypeSnapshots { | ||
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" | ||
credentials { | ||
username = project.findProperty('sonatype_username') | ||
password = project.findProperty('sonatype_password') | ||
} | ||
repositories { | ||
if ("${project.version}".endsWith('-SNAPSHOT')) { | ||
sonatypeSnapshots { | ||
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" | ||
credentials { | ||
username = project.findProperty('sonatype_username') | ||
password = project.findProperty('sonatype_password') | ||
} | ||
} else { | ||
sonatypeMavenCentral { | ||
url = "https://s01.oss.sonatype.org/service/local/" | ||
credentials { | ||
username = project.findProperty('sonatype_username') | ||
password = project.findProperty('sonatype_password') | ||
} | ||
} | ||
} else { | ||
sonatypeMavenCentral { | ||
url = "https://s01.oss.sonatype.org/service/local/" | ||
credentials { | ||
username = project.findProperty('sonatype_username') | ||
password = project.findProperty('sonatype_password') | ||
} | ||
} | ||
} | ||
publications { | ||
all { | ||
pom { | ||
url = 'https://github.com/xenit-eu/alfred-telemetry' | ||
name = "alfred-telemetry" | ||
description = project.description | ||
} | ||
publications { | ||
all { | ||
pom { | ||
url = 'https://github.com/xenit-eu/alfred-telemetry' | ||
name = "alfred-telemetry" | ||
description = project.description | ||
|
||
scm { | ||
connection = 'scm:git:[email protected]:xenit-eu/alfred-telemetry.git' | ||
developerConnection = 'scm:git:[email protected]:xenit-eu/alfred-telemetry.git' | ||
url = 'https://github.com/xenit-eu/alfred-telemetry.git' | ||
} | ||
developers { | ||
developer { | ||
id = "xenit" | ||
name = "Xenit" | ||
description = "Xenit Solutions NV" | ||
} | ||
scm { | ||
connection = 'scm:git:[email protected]:xenit-eu/alfred-telemetry.git' | ||
developerConnection = 'scm:git:[email protected]:xenit-eu/alfred-telemetry.git' | ||
url = 'https://github.com/xenit-eu/alfred-telemetry.git' | ||
} | ||
developers { | ||
developer { | ||
id = "xenit" | ||
name = "Xenit" | ||
description = "Xenit Solutions NV" | ||
} | ||
} | ||
|
||
licenses { | ||
license { | ||
name = 'GNU Lesser General Public License v3.0' | ||
url = 'https://www.gnu.org/licenses/lgpl-3.0.txt' | ||
} | ||
licenses { | ||
license { | ||
name = 'GNU Lesser General Public License v3.0' | ||
url = 'https://www.gnu.org/licenses/lgpl-3.0.txt' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |