Skip to content

Commit

Permalink
Support Develocity Gradle Plugin 3.18
Browse files Browse the repository at this point in the history
Closes gh-89
  • Loading branch information
wilkinsona committed Aug 20, 2024
1 parent 7f3015d commit a01d576
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
14 changes: 13 additions & 1 deletion develocity-conventions-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id "build-conventions"
id "java-gradle-plugin"
id "maven-publish"
id "io.spring.compatibility-test" version "0.0.2"
}

description = "Develocity Conventions Gradle plugin"
Expand All @@ -13,7 +14,7 @@ repositories {

dependencies {
compileOnly("com.gradle:develocity-gradle-plugin:${develocityPluginVersion}")

implementation(project(":develocity-conventions-core"))

testImplementation("com.gradle:develocity-gradle-plugin:${develocityPluginVersion}")
Expand All @@ -32,3 +33,14 @@ gradlePlugin {
}
}
}

compatibilityTest {
useJUnitPlatform()
dependency('Develocity Gradle Plugin') { develocityPlugin ->
develocityPlugin.groupId = 'com.gradle'
develocityPlugin.artifactId = 'develocity-gradle-plugin'
develocityPlugin.versions = [
'3.17.2'
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ public void username(Function<? super String, ? extends String> obfuscator) {
throw new UnsupportedOperationException();
}

@Override
public void externalProcessName(Function<? super String, ? extends String> obfuscator) {
throw new UnsupportedOperationException();
}

}

static final class TestBuildScanCaptureSettings implements BuildScanCaptureConfiguration {
Expand All @@ -169,6 +174,11 @@ public Property<Boolean> getTestLogging() {
throw new UnsupportedOperationException();
}

@Override
public Property<Boolean> getResourceUsage() {
throw new UnsupportedOperationException();
}

}

static final class TestBuildScanPublishingConfiguration implements BuildScanPublishingConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=0.0.20-SNAPSHOT

develocityPluginVersion=3.17.2
develocityPluginVersion=3.18
javaFormatVersion=0.0.43

0 comments on commit a01d576

Please sign in to comment.