Skip to content

Commit 1920ae6

Browse files
committed
Merge remote-tracking branch 'jmfayard/main' into indluce-builds
2 parents 02f3ac9 + 5ae5fc8 commit 1920ae6

7 files changed

Lines changed: 487 additions & 435 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Change log for refreshVersions
22

3+
## Unreleased
4+
5+
### New features
6+
7+
- In Android projects, if you used the version placeholder (`_`) directly in `build.gradle(.kts)` files, Android lint would trigger an unwanted warning, or error in the case of the Android build tools (aka. AGP, the Android Gradle Plugin). To avoid this inconvenience, running the refreshVersions task will now automatically check if it's running on an Android project, and in such cases, will edit (safely) the `lint.xml` file, creating it if needed, and add the needed rules to have these specific warnings and errors ignored.
8+
9+
### Fixes
10+
11+
- Fix a bug that prevented from using the correct version of `org.jetbrains.kotlinx.benchmark` and any other Gradle plugin with an id starting with `org.jetbrains.kotlinx` because it matched over `org.jetbrains.kotlin` as well. We are now matching on `org.jetbrains.kotlin.` to avoid this issue.
12+
13+
### New dependency notations:
14+
15+
- AndroidX:
16+
- emoji2
17+
- views-helper
18+
- views
19+
- health.servicesClient
20+
- security.appAuthenticatorTesting
21+
- Google.accompanist.insets.ui
22+
323
## Version 0.10.0 (2021-05-13)
424

525
### New features

plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/RefreshVersionsCoreSetup.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ private fun setupPluginsVersionsResolution(
140140
}
141141
val pluginNamespace = requested.id.namespace ?: ""
142142
val versionKey = when {
143-
pluginNamespace.startsWith("org.jetbrains.kotlin") -> "version.kotlin"
144-
pluginNamespace.startsWith("com.android") -> "plugin.android"
143+
pluginNamespace.startsWith("org.jetbrains.kotlin.") -> "version.kotlin"
144+
pluginNamespace.startsWith("com.android.") -> "plugin.android"
145145
else -> "plugin.$pluginId"
146146
}
147147
val version = resolveVersion(properties, versionKey) ?: return@eachPlugin

0 commit comments

Comments
 (0)