Skip to content

Commit

Permalink
Release 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jk1 committed May 12, 2018
1 parent 5c7fc73 commit 40fabc6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this to your `build.gradle` file:

```groovy
plugins {
id 'com.github.jk1.dependency-license-report' version '0.8'
id 'com.github.jk1.dependency-license-report' version '0.9'
}
```

Expand All @@ -32,7 +32,7 @@ buildscript {
}
dependencies {
classpath 'gradle.plugin.com.github.jk1:gradle-license-report:0.8'
classpath 'gradle.plugin.com.github.jk1:gradle-license-report:0.9'
}
}
apply plugin: 'com.github.jk1.dependency-license-report'
Expand All @@ -52,6 +52,10 @@ licenseReport {
// Set output directory for the report data.
// Defaults to ${project.buildDir}/reports/dependency-license.
outputDir = "$projectDir/build/licenses"
// Set output directory for the report data.
// Defaults to current project and all its subprojects
projects = [project] + project.subprojects
// List the groups ids to exclude from dependency report.
// By default project's own group is excluded.
Expand Down Expand Up @@ -79,15 +83,15 @@ licenseReport {

## Kotlin script support

Plugin is compatible with build scripts written in kotlin. Configuration syntax is slighlty different from groovy though.
Plugin is compatible with build scripts written in kotlin. Configuration syntax is slightly different from groovy though.
Consider the following sample:

```kotlin
import com.github.jk1.license.render.InventoryHtmlReportRenderer
import com.github.jk1.license.filter.LicenseBundleNormalizer

plugins {
id("com.github.jk1.dependency-license-report") version "0.8"
id("com.github.jk1.dependency-license-report") version "0.9"
}

licenseReport {
Expand Down Expand Up @@ -303,7 +307,7 @@ repositories {
}
dependencies {
compile 'gradle.plugin.com.github.jk1:gradle-license-report:0.8'
compile 'gradle.plugin.com.github.jk1:gradle-license-report:0.9'
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "com.github.jk1"
version = "0.8"
version = "0.9"

sourceCompatibility = 1.6
targetCompatibility = 1.6
Expand Down
2 changes: 1 addition & 1 deletion samples/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import com.github.jk1.license.render.InventoryHtmlReportRenderer
import com.github.jk1.license.filter.LicenseBundleNormalizer

plugins {
id("com.github.jk1.dependency-license-report") version "0.8"
id("com.github.jk1.dependency-license-report") version "0.9"
id("java")
}

Expand Down

0 comments on commit 40fabc6

Please sign in to comment.