Skip to content

Commit

Permalink
Switch maven builds to MavenCentral
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
neuhalje committed Jan 23, 2020
1 parent 4078412 commit 607e866
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Add bouncy castle as a dependency and then install the provider before in your a
repositories {
mavenCentral()
jcenter()
// jcenter() - optional.
}
//...
Expand All @@ -211,20 +211,6 @@ dependencies {
```
#### Maven

Dropping this in the root level of pom.xml lets you use this lib in a maven project:
```xml
<repositories>
<repository>
<id>bintray</id>
<name>bintray</name>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
```
and this dependency snippet:
```xml
<dependency>
<groupId>name.neuhalfen.projects.crypto.bouncycastle.openpgp</groupId>
Expand Down
12 changes: 0 additions & 12 deletions examples/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- OR use the settingx.xml -->
<repositories>
<repository>
<id>bintray</id>
<name>bintray</name>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
Expand Down

0 comments on commit 607e866

Please sign in to comment.