Remove util.gradle
MODIFY
build.gradle
build.gradle
@@ -49,10 +49,6 @@ nexusPublishing {
// Enable after verifying Maven Central publishing once through manual closing
// tasks.release.finalizedBy tasks.closeAndReleaseRepository
-allprojects {
- apply from: "$rootDir/gradle/util.gradle"
-}
-
description = 'OpenTelemetry instrumentations for Java'
allprojects {

DELETE
gradle/util.gradle
-tasks.register("artifacts") {
- group = "Help"
- description = "Displays the artifacts associated with each configuration of " + project
- doFirst {
- configurations.findAll().each { config ->
- println "${config}:"
- config.allArtifacts.getFiles().each { file ->
- println " " + file
- }
- println ' '
- }
- }
-}
-
-/** Find a random, reusable port. */
-ext.randomOpenPort = { ->
- final ServerSocket socket
- try {
- socket = new ServerSocket(0)
- socket.setReuseAddress(true)
- socket.close()
- return socket.getLocalPort()
- } catch (final IOException ioe) {
- ioe.printStackTrace()
- return -1
- }
-}

Remove util.gradle (#3329)