From c64b350cfd70fb05a6a4bb6b55b5ac4485242eb0 Mon Sep 17 00:00:00 2001 From: Goooler Date: Wed, 11 Dec 2024 12:29:05 +0800 Subject: [PATCH] Rename --- .../plugins/shadow/util/repo/maven/AbstractMavenModule.groovy | 4 ++-- .../gradle/plugins/shadow/util/repo/maven/MavenModule.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/funcTest/groovy/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/AbstractMavenModule.groovy b/src/funcTest/groovy/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/AbstractMavenModule.groovy index bd86f29ec..90dddd2f6 100644 --- a/src/funcTest/groovy/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/AbstractMavenModule.groovy +++ b/src/funcTest/groovy/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/AbstractMavenModule.groovy @@ -56,8 +56,8 @@ abstract class AbstractMavenModule extends AbstractModule implements MavenModule } @Override - MavenModule dependsOn(String group, String artifactId, String version) { - this.dependencies << [groupId: group, artifactId: artifactId, version: version, type: type] + MavenModule dependsOn(String groupId, String artifactId, String version) { + this.dependencies << [groupId: groupId, artifactId: artifactId, version: version, type: type] return this } diff --git a/src/intiTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/MavenModule.kt b/src/intiTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/MavenModule.kt index 484789e1c..b77d25886 100644 --- a/src/intiTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/MavenModule.kt +++ b/src/intiTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util/repo/maven/MavenModule.kt @@ -14,7 +14,7 @@ interface MavenModule { */ fun publishPom(): MavenModule - fun dependsOn(group: String, artifactId: String, version: String): MavenModule + fun dependsOn(groupId: String, artifactId: String, version: String): MavenModule val pomFile: File