Skip to content

jonnyzzz/gradle-java9c

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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