1
0
Fork 0
mirror of https://github.com/ethauvin/CompileOnlyPlugin.git synced 2025-04-24 16:37:10 -07:00
Adds a compileOnly configuration to a Java based gradle build.
Find a file
2014-02-10 07:48:01 +01:00
gradle/wrapper Added very basic gradle stuff 2013-08-12 20:57:19 +02:00
src Released version 1.0.0 of the plugin. 2013-08-12 23:38:13 +02:00
.gitignore Released version 1.0.0 of the plugin. 2013-08-12 23:38:13 +02:00
build.gradle Released version 1.0.0 of the plugin. 2013-08-12 23:38:13 +02:00
gradle.properties Released version 1.0.0 of the plugin. 2013-08-12 23:38:13 +02:00
gradlew Added very basic gradle stuff 2013-08-12 20:57:19 +02:00
gradlew.bat Added very basic gradle stuff 2013-08-12 20:57:19 +02:00
LICENSE Initial commit 2013-08-12 11:55:04 -07:00
README.md Update README.md 2014-02-10 07:48:01 +01:00
settings.gradle Added very basic gradle stuff 2013-08-12 20:57:19 +02:00

CompileOnlyPlugin

Adds a compileOnly configuration to a Java based gradle build.

The plugin will also take care of registering the compilyOnly dependencies to the matching scopes of IntelliJ Idea and Eclipse

Usage

Add the following lines to your gradle build script

buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath 'com.coders-kitchen:compileonlyplugin:1.0.0'
  }
}

apply plugin: 'compileOnly'

dependencies {
  compileOnly <dependencies>
}