-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use gradle-nexus-plugin for publishing to Sonatype
- Loading branch information
1 parent
49c4a15
commit 4924e49
Showing
2 changed files
with
45 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apply plugin: 'nexus' | ||
|
||
modifyPom { | ||
project { | ||
name 'Flowless' | ||
description 'Efficient VirtualFlow for JavaFX.' | ||
url 'http://www.fxmisc.org/flowless/' | ||
packaging 'jar' | ||
licenses { | ||
license { | ||
name 'The BSD 2-Clause License' | ||
url 'http://opensource.org/licenses/BSD-2-Clause' | ||
distribution 'repo' | ||
} | ||
} | ||
scm { | ||
url 'scm:git@github.com:TomasMikula/Flowless.git' | ||
connection 'scm:git@github.com:TomasMikula/Flowless.git' | ||
developerConnection 'scm:git@github.com:TomasMikula/Flowless.git' | ||
} | ||
developers { | ||
developer { | ||
name 'Tomas Mikula' | ||
} | ||
} | ||
} | ||
} | ||
|
||
nexus { | ||
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' | ||
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' | ||
} |