jdaugherty commented on code in PR #596:
URL: https://github.com/apache/grails-forge/pull/596#discussion_r2164515378
##########
build.gradle:
##########
@@ -24,22 +24,19 @@ import java.time.format.DateTimeFormatter
version = projectVersion
group = 'org.apache.grails.forge'
-// we must apply the publish configuration first or the aggregator plugin will
not work
-apply from: layout.projectDirectory.file('gradle/publish-root-config.gradle')
-
-apply plugin: 'org.grails.forge.internal.aggregator'
-
ext {
buildInstant =
java.util.Optional.ofNullable(System.getenv('SOURCE_DATE_EPOCH'))
.map(Long::parseLong)
.map(Instant::ofEpochSecond)
.orElseGet(Instant::now) as Instant
formattedBuildDate = DateTimeFormatter.ISO_INSTANT.format(buildInstant)
buildDate = (buildInstant as Instant).atZone(ZoneOffset.UTC) // for
reproducible builds
+ isCiBuild = System.getenv().containsKey('CI')
}
allprojects {
repositories {
+ // mavenLocal() // Keep, this will be uncommented and used by CI
(groovy-joint-workflow)
Review Comment:
Doesn't look like it, but there will be when we merge to core.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]