2
0
Эх сурвалжийг харах

Conditionally Add Conventions Plugin

Josh Cummings 1 жил өмнө
parent
commit
092a63d1e0
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      settings.gradle

+ 5 - 1
settings.gradle

@@ -6,7 +6,11 @@ pluginManagement {
 
 
 plugins {
 plugins {
 	id "com.gradle.develocity" version "3.17.4"
 	id "com.gradle.develocity" version "3.17.4"
-	id "io.spring.ge.conventions" version "0.0.17"
+	id "io.spring.ge.conventions" version "0.0.17" apply false
+}
+
+if (System.getenv("DEVELOCITY_ACCESS_KEY")) {
+	apply plugin: "io.spring.ge.conventions"
 }
 }
 
 
 dependencyResolutionManagement {
 dependencyResolutionManagement {