refreshVersions
refreshVersions copied to clipboard
Migration modifies version numbers in buildSrc/src/main/kotlin/Build.kt
- [x] I have read the guidelines for submitting issues
🐛 Describe the bug
I have a file Build.kt in buildSrc with some version numbers:
object Build {
const val buildToolsVersion = "33.0.0"
const val compileSdkVersion = 33
const val minSdkVersion = 21
const val targetSdkVersion = 33
const val versionName = "2.5.0"
}
The migration changes this to:
object Build {
const val buildToolsVersion = "_"
const val compileSdkVersion = 33
const val minSdkVersion = 21
const val targetSdkVersion = 33
const val versionName = "_"
}
⚠️ Current behavior
The migration changes some versions in the Build.kt file.
✅ Expected behavior
The migration should not change the versions in the Build.kt file.
💣 Steps to reproduce
Create a Build.kt file in buildSrc/src/main/kotlin an copy above code, then run the migration.