Enable gradle scan on CI

Signed-off-by: Lucas Petrino <nsx1lucas@gmail.com>
This commit is contained in:
2024-01-16 15:26:55 +13:00
parent 892afec17c
commit 7eab9daf0b
2 changed files with 14 additions and 1 deletions

View File

@@ -1,7 +1,6 @@
import io.github.themrmilchmann.gradle.publish.curseforge.ChangelogFormat
import io.github.themrmilchmann.gradle.publish.curseforge.GameVersion
import io.github.themrmilchmann.gradle.publish.curseforge.ReleaseType
import net.fabricmc.loom.task.RemapJarTask
plugins {
id("architectury-plugin") version "3.4-SNAPSHOT"

View File

@@ -22,6 +22,20 @@ pluginManagement {
}
}
plugins {
id("com.gradle.enterprise") version("3.15.1")
}
gradleEnterprise {
if (System.getenv("CI") != null) {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
}
include("common")
include("fabric")
include("forge")