On using this script to migrate around 50 Groovy Gradle files to Kotlin, it was really helpful. However some conversion bugs were discovered. It was easier fixing the bugs in the script logic rather than manually repeating them among all the converted files. The issues fixed are listed below
Type of change:
Bug fixes
What's the purpose of this PR?
Fix bugs found in conversion logic
N.B Commit by commit review can be helpful
What is the impact of this change?
More reliable output by the script
List of Groovy input giving wrong output before this proposed change:
Overview
On using this script to migrate around 50 Groovy Gradle files to Kotlin, it was really helpful. However some conversion bugs were discovered. It was easier fixing the bugs in the script logic rather than manually repeating them among all the converted files. The issues fixed are listed below
Type of change:
Bug fixes
What's the purpose of this PR?
Fix bugs found in conversion logic
N.B Commit by commit review can be helpful
What is the impact of this change?
More reliable output by the script
List of Groovy input giving wrong output before this proposed change:
kaptAndroidTest "com.some.dependency:1.0.0"
kaptTest "com.some.dependency:1.0.0"
apply from: "myfile.gradle"
fileTree(dir: "libs", include: ["*.jar"])