Helps to find package collisions for Java 9 modules migration
Switch branches/tags
Clone or download
Latest commit 0a4cf80 Mar 12, 2018
Permalink
Failed to load latest commit information.
gradle/wrapper update to Gradle 4.6 Mar 11, 2018
plugin rename method, fix #2 Mar 12, 2018
test-common
test-data version++ Oct 15, 2017
test rename method, fix #2 Mar 12, 2018
.gitignore ignores Oct 3, 2017
.travis.yml Create .travis.yml Oct 17, 2017
LICENSE.txt LICENSE + NOTICE Oct 3, 2017
README.md Update README.md Oct 18, 2017
build-kotlin.gradle
build.gradle Fix Java9 compatibility Oct 20, 2017
gradlew gradle wrapper Oct 3, 2017
gradlew.bat gradle wrapper Oct 3, 2017
settings.gradle reuse code Oct 13, 2017

README.md

Build Status

Gradle Java9 Packages Collision plugin

Starting from Java9 it is no longer allowed to have same packages in different modules (jars)

The plugin helps to detect package name collisions, that blocks one from migrating to Java 9 modules (JIGSAW)

License

Apache 2.0. See LICENSE.txt file in the repo for details

Usage

The plugin defines java9c task for the project. The task generates detected packages collisions for every SourceSet of the project.

See more info on Gradle Plugin Portal

Add the following lines to your project:

plugins {
  id "org.jonnyzzz.java9c" version "<USE_LATEST_VERSION>"
}


//necessary only for multiple project projects:
subprojects {
  apply plugin: "org.jonnyzzz.java9c"
}

Issues

Please use GitHub issues from the project to report problems you have. Pull requests are welcome too.

Related Links

Gradle Plugin Portal

Introductory Blog Post