123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- import java.time.Duration
- plugins {
- id("idea")
- id("io.github.gradle-nexus.publish-plugin")
- id("otel.spotless-conventions")
- }
- apply(from = "version.gradle.kts")
- nexusPublishing {
- packageGroup.set("io.opentelemetry")
- repositories
- sonatype
- username.set(System.getenv("SONATYPE_USER"))
- password.set(System.getenv("SONATYPE_KEY"))
- }
- }
- connectTimeout.set(Duration.ofMinutes(5))
- clientTimeout.set(Duration.ofMinutes(5))
- transitionCheckOptions
-
-
- maxRetries.set(300)
- delayBetween.set(Duration.ofSeconds(10))
- }
- }
- description
- if
- subprojects
- tasks.withType<Test>().configureEach
- enabled
- }
- }
- }
- tasks
- val
- group
- description
-
- var
- if
- throw
- } else ||
- throw
- }
- val
- var
- subprojects
-
-
-
- val
- if
- tasks.withType<Test>().configureEach
- partitionTasks.add(this)
- }
- }
- }
- doLast
- File("test-tasks.txt").printWriter().use
- partitionTasks.forEach
- var
-
-
- if
- writer.println(taskPath)
- }
- }
- }
- }
-
- subprojects
- tasks.configureEach
- enabled
- }
- }
- }
- }
- if
-
- project.tasks.configureEach
- if
- enabled
- }
- }
- }
|