1
0
Fork 0
mirror of https://github.com/ethauvin/CompileOnlyPlugin.git synced 2025-04-24 16:37:10 -07:00

Update README.md

This commit is contained in:
Peter Daum 2014-02-10 07:48:01 +01:00
parent 0646da0809
commit b4908d1de1

View file

@ -1,4 +1,25 @@
CompileOnlyPlugin
=================
Adds a compileOnly configuration to a Java based gradle build.
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>
}