Skip to content

Commit

Permalink
Newer versions require implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Nov 8, 2023
1 parent 167966c commit 0d1ac2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/com/inet/gradle/setup/dmg/preferences/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ repositories {
}

dependencies {
compile gradleApi()
if ( gVersion <= VersionNumber.parse( '7.0' ) ) {
compile gradleApi()
} else {
implementation gradleApi()
}
}

sourceSets {
Expand Down

0 comments on commit 0d1ac2f

Please sign in to comment.