Skip to content

Commit 57cd127

Browse files
committed
Switch from Gradle to Maven
1 parent f1d50b6 commit 57cd127

11 files changed

Lines changed: 186 additions & 445 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ out/
33
.idea_modules/
44
.gradle/
55
build/
6+
target/
67
*.iws
8+
*.iml
79

810
*.class
911
*.log

.travis.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,3 @@ language: java
22

33
services:
44
- docker
5-
6-
before_cache:
7-
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
8-
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
9-
cache:
10-
directories:
11-
- $HOME/.gradle/caches/
12-
- $HOME/.gradle/wrapper/
13-
14-
deploy:
15-
provider: pages
16-
skip-cleanup: true
17-
github-token: $GITHUB_TOKEN
18-
local-dir: build/docs/
19-
on:
20-
tags: true

build.gradle

Lines changed: 0 additions & 113 deletions
This file was deleted.

devdoc/deploy.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
11
Deploying
22
=========
33

4+
Make sure that JAVA_HOME points to Java 8 (the javadoc task fails with Java 11).
5+
46
To deploy to Maven use
57

68
```
7-
gradlew clean uploadArchives -PcredentialsPassphrase=<credentials password>
9+
mvn clean deploy -P release
810
```
911

10-
Where `<credentials password>` is the password used to add the credentials (see
11-
also below).
12-
13-
To be able to deploy, you need the following:
14-
15-
a `<homedir>/.gradle/gradle.properties` with the following properties:
12+
For snapshots we can forego signing and generating javadoc + sources using:
1613

1714
```
18-
signing.keyId=<gpg key id>
19-
signing.secretKeyRingFile=<path to your secring.gpg>
20-
21-
ossrhUsername=<sonatype OSSRH username>
15+
mvn clean deploy
2216
```
2317

24-
In addition, you need to set the following credentials
25-
26-
```
27-
./gradlew addCredentials --key signing.password --value <your secret key password> -PcredentialsPassphrase=<credentials password>
28-
./gradlew addCredentials --key ossrhPassword --value <your sonatyp OSSRH password> -PcredentialsPassphrase=<credentials password>
29-
```
18+
This requires the proper Sonatype credentials to be set in userhome/.m2/settings.xml.
3019

31-
See https://github.com/etiennestuder/gradle-credentials-plugin for details on
32-
credentials.
20+
See https://central.sonatype.org/pages/apache-maven.html for details.

gradle.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-54.3 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

gradlew

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)