This is a tiny application to roughly estimate migration effort and maybe to track progress for kotlin synthetic import migration.
I work on an application which has 150+ modules and my team owns some of them. When kotlin team deprecated synthetic imports, we started planning for migration. To estimate migration effort I wrote this application. You can get a similar idea by using something like grep
or ag
but if you have too many modules it becomes tedious.
- Download the
ktsy.jar
file from here. - run
java -jar ktsy.jar -p "path/to/src/main/java" -o "resultFileName"
- It will create a csv file with the name you provided. Which will look something like this
Name | Synthetic Imports | WildcardImports |
---|---|---|
SomeViewFile | 21 | false |
SomeOtherViewFile | 1 | true |
Absolutely not. Few days back I came across this blog post and basically this application is a modified version of that idea.