Skip to content

Commit

Permalink
Merge branch 'migrate.to.kotlin.#123'
Browse files Browse the repository at this point in the history
* migrate.to.kotlin.#123: (25 commits)
  fix file includes for resulting JARs
  centralize and upgrade dependencies
  get rid of not required LifecyclePlugin wrapper
  use Kotlins "it" for simple closures
  prefer methods which favor configuration avoidance
  introduce caching for travis CI builds
  use Bnd Gradle Plugins via plugins {} API
  migrate remaining publishing configuration to Kotlin DSL (#123)
  migrate cpd config (#123)
  migrate coveralls and its required jacoco config (#123)
  remove no longer used TouchTestResults class in legacy build file (#123)
  migrate second generic subprojects configuration to Kotlin DSL (#123)
  migrate junit-jupiter and junit-jupiter-params subprojects configuration to Kotlin DSL (#123)
  migrate junit-jupiter* subproject configuration to Kotlin DSL (#123)
  migrate junit4 subproject configuration to Kotlin DSL (#123)
  migrate core subproject configuration to Kotlin DSL (#123)
  migrate first generic subprojects configuration to Kotlin DSL (#123)
  migrate extra properties, buildScan and allprojects configuration to Kotlin DSL (#123)
  prepare stepwise migration by splitting build logic (#123)
  add parantheses which can be omitted in Groovy but not Kotlin (#123)
  ...
  • Loading branch information
aaschmid committed Jan 5, 2020
2 parents f960c95 + 4805fc0 commit c91a529
Show file tree
Hide file tree
Showing 9 changed files with 625 additions and 507 deletions.
30 changes: 20 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
language: java

os: linux
dist: trusty
sudo: false

script:
- ./gradlew build -Pjunit4Version=4.10 -PjunitJupiterVersion=5.5.0-RC2 -PskipSpotBugs
- ./gradlew build -Pjunit4Version=4.11 -PjunitJupiterVersion=5.5.0 -PskipSpotBugs
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
- oraclejdk11

- ./gradlew build
script:
- ./gradlew --scan build -Pjunit4Version=4.10 -PjunitJupiterVersion=5.5.0-RC2 -PskipSpotBugs
- ./gradlew --scan build -Pjunit4Version=4.11 -PjunitJupiterVersion=5.5.0 -PskipSpotBugs
- ./gradlew --scan build

- cd ${TRAVIS_BUILD_DIR}/junit4/
- mvn test
Expand All @@ -18,12 +25,15 @@ script:
- cd ${TRAVIS_BUILD_DIR}/junit-jupiter-params/
- mvn test

jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
- oraclejdk11
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

after_success:
- cd ${TRAVIS_BUILD_DIR}
- ./gradlew jacocoRootReport coveralls
- ./gradlew --scan jacocoRootReport coveralls
Loading

0 comments on commit c91a529

Please sign in to comment.