Gradle and IntelliJ build tooling used in Slack's Android repo
APACHE-2.0 License
Bot releases are hidden (Show)
sgp.compose.multiplatform.forceAndroidXComposeCompiler
Gradle property flag to force use of the AndroidX compose compiler in Compose Multiplatform projects.sgp.config.jvmVendor.optOut
Gradle property flag to disable jvmVendor configuration in toolchains.robolectric
key in the primary version catalog.sgp.config.jvmVendor
property.4.7.0
.2.4.6
.8.0.2
.1.23.0
.Published by ZacSweers over 1 year ago
disallowChanges()
where possible on properties SGP controls in order to avoid accidental overwrites.ComputeAffectedProjectsTask
also generate a affected_android_test_projects.txt
file with a newline-delimited list of affected projects that enable androidTest()
. This can be used in CI scripts to statically determine if instrumentation tests need to run.Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.9.4...0.9.5
Published by ZacSweers over 1 year ago
Happy May the Fourth!
sgp.config.jvmVendor
property to control the JVM vendor used in Kotlin and Java toolchains. This value is used to match a known vendor spec, such as AZUL
.afterEvaluate
block to avoid https://github.com/Kotlin/kotlinx-kover/issues/362.Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.9.0...0.9.1
OkHttpClient
setup in SlackTools
.slack.features.dagger
DSL controls. There are two new properties to control this:
slack.ksp.allow-dagger
– allow use of Dagger in KSP.slack.ksp.allow-anvil
– allow use of Anvil in KSP. Note this is not yet implemented in Anvil, just a toe-hold for the future.SlackToolsExtension
instances + fix classloader used for it.SlackToolsExtension
extensions that fail to load.2023-04-25
Context
to SlackToolsExtension
.2023-04-25
SlackTools.findExtension
API.SlackTools.SERVICE_NAME
for @ServiceReference
API.2023-04-25
moshi-kotlin
, only use generated adapters now.sgp.ge.apply-common-build-tags
property flag to gate applying common build tags to a project.SlackToolsExtension
to work as a ServiceLoader
instead.2023-04-23
SlackTools
because this apparently invalidates configuration cache every time.2023-04-22
class
for SAM conversions due to https://github.com/gradle/gradle/issues/24871.2023-04-22
SlackTools
and support enabling property at different scopes (local.properties, etc).SlackTools
is closed.class
for SAM conversions. The minimum supported Gradle version is now 8.1, which introduced support for this.2023-04-22
2023-04-22
SlackTools
instances when reporting background data to Gradle Enterprise. These instances would be orphaned because this would happen after Gradle had closed all existing services, and create a memory leak.SlackTools
instances.Executor
for SlackTools
' thermals heartbeat.2023-04-22
Throwable
with multiple instances of SlackTools
to help track origin points.2023-04-22
SlackTools
to track multiple instances.ValueSource
for Gradle 8.x compatibility.PLATFORM_NATIVE
in spotless by default. Its default of looking at .gitattributes
is expensive and incompatible with Gradle 8.1+ configuration caching.slack.auto-apply.sort-dependencies
boolean Gradle property to gate auto-applying the sort-dependencies plugin.DetektCreateBaselineTask
tasks too due to https://github.com/detekt/detekt/issues/5940.slack.avoidance.build-upon-default-affected-project-configurations
flag to make provided configurations build upon defaults.globalDetekt
task that runs detekt
on all subprojects. This is Skippy-compatible and responds to slack.avoidance.affectedProjectsFile
.Detekt.jdkHome
to null to avoid https://github.com/detekt/detekt/issues/5925.String.safeCapitalize()
to String.capitalizeUS()
to make it more explicit.