Skip to content

Commit

Permalink
Update Gradle, Version 1.0 ready (#34)
Browse files Browse the repository at this point in the history
* Update Gradle, Version 1.0 ready

* Add Input annotation for assert graph task
  • Loading branch information
jraska authored Feb 19, 2020
1 parent 092897f commit 5ca24e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A Gradle plugin that helps keep your module graph healthy and lean.
## Usage
```groovy
plugins {
id "com.jraska.module.graph.assertion" version "0.5.0"
id "com.jraska.module.graph.assertion" version "1.0.0"
}
```

Expand Down
2 changes: 1 addition & 1 deletion example/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gradlePlugin {
plugins {
modulesGraphAssert {
id = 'com.jraska.module.graph.assertion'
version = '0.5.0'
version = '1.0.0'
displayName = 'Modules Graph Assert'
description = 'Gradle plugin to keep your modules graph healthy and lean.'
implementationClass = 'com.jraska.module.graph.assertion.ModuleGraphAssertionsPlugin'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import com.jraska.module.graph.assertion.GradleDependencyGraphFactory
import com.jraska.module.graph.assertion.GraphAssert
import com.jraska.module.graph.assertion.UserDefinedRulesAssert
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction

open class AssertGraphTask : DefaultTask() {

@Input
lateinit var assertion: GraphAssert

@TaskAction
Expand Down

0 comments on commit 5ca24e7

Please sign in to comment.