Skip to content

Commit

Permalink
Replace Gradle with Maven (#7)
Browse files Browse the repository at this point in the history
Gradle publishing still sucks, even in 4.8.x.
  • Loading branch information
foo4u authored Jun 29, 2018
1 parent c85295e commit be808ac
Show file tree
Hide file tree
Showing 13 changed files with 269 additions and 428 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.idea
*.iml
build
target
121 changes: 0 additions & 121 deletions build.gradle

This file was deleted.

14 changes: 8 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
machine:
environment:
LANG: en_US.UTF-8
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2
java:
version: oraclejdk7

dependencies:
cache_directories:
- ../.gradle/wrapper/dists
override:
- rm -rf ~/.m2/repository/com/smartling/keycloak/
- mvn -U compile dependency:go-offline

test:
override:
- ./gradlew test
- mvn test
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- find . -type f -regex ".*/test-results/test/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

deployment:
snapshot:
branch: develop
branch: maven
commands:
- ./gradlew clean
- mvn -s settings.xml deploy
release:
branch: master
commands:
Expand Down
19 changes: 0 additions & 19 deletions gradle.properties

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

172 changes: 0 additions & 172 deletions gradlew

This file was deleted.

Loading

0 comments on commit be808ac

Please sign in to comment.