Skip to content

Commit

Permalink
[gradle] Add a flag to fix build on TeamCity with configuration cache…
Browse files Browse the repository at this point in the history
…s enabled

Error was:
> Listener registration 'Gradle.addListener' by build is unsupported.
  • Loading branch information
terrakok committed Mar 5, 2024
1 parent 3348289 commit 5e0e03b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gradle-plugins/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ org.gradle.configuration-cache=true
org.gradle.caching=true
kotlin.code.style=official

# TC flag to fix a build with configuration cache enabled
# > Listener registration 'Gradle.addListener' by build is unsupported.
teamcity.internal.gradle.runner.launch.mode=auto

# Default version of Compose Libraries used by Gradle plugin
compose.version=1.6.0
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
Expand Down

0 comments on commit 5e0e03b

Please sign in to comment.