1
0
Fork 0
mirror of https://github.com/ethauvin/CompileOnlyPlugin.git synced 2025-04-25 00:37:14 -07:00
CompileOnlyPlugin/README.md
2016-06-26 14:39:06 -07:00

35 lines
No EOL
737 B
Markdown

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>
}
or if using Gradle 2.1 or higher:
plugins {
id 'com.coders-kitchen.compileonlyplugin' version '1.0.0'
}
dependencies {
compileOnly <dependencies>
}