Skip to content

Commit

Permalink
fix: gradle 7.0.2 (#40)
Browse files Browse the repository at this point in the history
* fix compile

* Update gradle-mavenizer.gradle

* Update artifact-pom-manager.gradle

* Update artifact-pom-manager.gradle

* Update artifact-pom-manager.gradle

* Update artifact-pom-manager.gradle

* Revert "Update artifact-pom-manager.gradle"

This reverts commit fc5d241.

* Revert "Update gradle-mavenizer.gradle"

This reverts commit 071046c.

* review fix

* temp

* Update artifact-javadoc-handler.gradle

* temp

* Revert "temp"

This reverts commit fe76f57.

* Revert "temp"

This reverts commit c1e7d81.

* Revert "Update artifact-javadoc-handler.gradle"

This reverts commit a19b2e2.
  • Loading branch information
skyfaccincania authored Sep 22, 2021
1 parent c40e90e commit 30a66de
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions artifact-pom-manager.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ def addDependencyNode(dependenciesNode, dep, scope, classifier, extension) {
}

def manageConfigurations(configurations) {
configurations.compile.getDependencies().each { dep -> addDependency(dep, "compile") }
configurations.api.getDependencies().each { dep -> addDependency(dep, "compile") }
configurations.implementation.getDependencies().each { dep -> addDependency(dep, "runtime") }
configurations.api.getDependencies().each { dep -> addDependency(dep, "api") }
configurations.implementation.getDependencies().each { dep -> addDependency(dep, "implementation") }
configurations.testImplementation.getDependencies().each { dep -> addDependency(dep, "test") }
configurations.testCompile.getDependencies().each { dep -> addDependency(dep, "test") }


if (!isAndroidProject()) {
configurations.runtime.getDependencies().each { dep -> addDependency(dep, "runtime") }
configurations.testRuntime.getDependencies().each { dep -> addDependency(dep, "test") }
Expand Down

0 comments on commit 30a66de

Please sign in to comment.