mirror of
https://github.com/ethauvin/CompileOnlyPlugin.git
synced 2025-04-25 00:37:14 -07:00
Added support for inclusion in the Grade Plugin Portal to build.gradle.
Added Gradle 2.1.x plugins DSL syntax to README.md
This commit is contained in:
parent
b4908d1de1
commit
b1e7f53f98
2 changed files with 51 additions and 6 deletions
14
README.md
14
README.md
|
@ -1,13 +1,13 @@
|
|||
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
|
||||
Add the following lines to your Gradle build script:
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
|
@ -23,3 +23,13 @@ Add the following lines to your gradle build script
|
|||
dependencies {
|
||||
compileOnly <dependencies>
|
||||
}
|
||||
|
||||
or if using Gradle 2.1 or higher:
|
||||
|
||||
plugins {
|
||||
id 'com.coders-kitchen.compileonlyplugin' version '1.0.0'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly <dependencies>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue