mirror of
https://github.com/ethauvin/CompileOnlyPlugin.git
synced 2025-04-25 00:37:14 -07:00
Update README.md
This commit is contained in:
parent
0646da0809
commit
b4908d1de1
1 changed files with 22 additions and 1 deletions
23
README.md
23
README.md
|
@ -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>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue