Package com.indeed.ossgradle.internal
Class IndeedOssUtil
- java.lang.Object
-
- com.indeed.ossgradle.internal.IndeedOssUtil
-
public class IndeedOssUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IndeedOssUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidafterEvaluate(org.gradle.api.Project project, java.lang.Runnable fn)By default, project.afterEvaluate is executed even if there was an exception thrown during configuration.
-
-
-
Method Detail
-
afterEvaluate
public static void afterEvaluate(org.gradle.api.Project project, java.lang.Runnable fn)By default, project.afterEvaluate is executed even if there was an exception thrown during configuration. This causes all sorts of havok, primarily in com.indeed.publish projects where various plugins will attempt to read the library's name, and will throw a "java.lang.RuntimeException: indeedPublish.name must be set", because the build.gradle failed before the project was able to set the name. Pretty much everything should use this helper instead, which will skip running the callback if the project is failing out.
-
-