Releases: freeletics/freeletics-gradle-plugins
Releases · freeletics/freeletics-gradle-plugins
0.20.0
- Updated to Kotlin 2.1.0
- Enable new Kotlin language features
- Guard conditions in when with a subject (
-Xwhen-guards
), - Non-local break and continue (
-Xnon-local-break-continue
) - Multi-dollar string interpolation (
-Xmulti-dollar-interpolation
)
- Guard conditions in when with a subject (
- New Gradle properties to configure Kotlin compiler daemon:
- enable
extraWarnings
option in the
compiler by default, can be disabled by settingfgp.kotlin.extraWarnings=false
- replaced the
fgp.kotlin.allowWarnings
property withfgp.kotlin.warningsAsErrors
(defaults to true) - allow easily suppressing deprecation warnings by setting
fgp.kotlin.suppressDeprecationWarnings=true
(defaults to false)
- enable
0.19.2
- Disable progressive mode for kapt stub generation when not using K2.
- Fix
Content-Type
not being set correctly when uploading html files to s3. - Don't report
com.freeletics.gradle:minify-common
andcom.freeletics.gradle:minify-crashlytics
as unused dependencies
since they're added by default.
0.19.1
- When uploading html files to s3, set the
Content-Type
totext/html
.
0.19.0
- New
com.freeletics.gradle:scripts-s3
artifact that contains helpers
for interacting with S3. - Fix
GoogleSheetsReader
expecting a base64 encoded json key.
0.18.0
- New
com.freeletics.gradle:scripts-google artifact
that contains helpers for interacting with the Google Play and Google Sheets APIs.
0.17.1
- Fix repository name for internal artifacts.
0.17.0
- Added
useSkie
,useKopy
, andusePoko
to enable the respective plugins. - Added new
versionBasedOnDate
method and several overloads ofcomputeVersionName
andcomputeVersionCode
to make using them easier. - New
com.freeletics.gradle:scripts-circleci
artifact that contains helpers
for writing kts scripts that run in a CircleCI environment or interact
with CircleCI. - New
com.freeletics.gradle:scripts-slack
artifact that makes it easy
to write kts scripts that send Slack messages. - Updated ktlint to 1.4.1.
usePaparazzi()
will now apply the official Paparazzi release instead of the Freeletics
Paparazzi fork.- The
com.freeletics.gradle.root
plugin is now shipped in the same artifact as the others. - Removed
fgp.kotlin.anvilKsp
andfgp.kotlin.anvilKspWithComponent
. Anvil is now always run
through the Anvil KSP fork. - Removed enforcing a Gradle Daemon JVM by setting
java-gradle
in the version catalog. Use
Daemon JVM toolchains instead (runupdateDaemonJvm
task).
0.16.0
- Update Kotlin to 2.0.20.
- Enable
-Xconsistent-data-class-copy-visibility
by default. - Add WASM/WASI to the list of common multiplatform targets.
- Bring back
fgp.kotlin.daggerKsp
option since Dagger KAPT can be faster than Dagger KSP.
0.15.0
- Update ktlint to 1.3.1.
- Updated
fgp.kotlin.anvilKsp
andfgp.kotlin.anvilKspWithComponent
to use the
Anvil fork. - Removed
fgp.kotlin.daggerKsp
, whether Dagger is used through KSP is now controlled by
fgp.kotlin.anvilKspWithComponent
. - Avoid warning about setting
buildFeatures.compose
.
0.14.0
- Fixed issue with Kotlin compiler options not being applied to multiplatform targets.
- Removed
useMoshi
.