gradleplease
gradleplease copied to clipboard
Compatibility with build.gradle.kts
Hello broady!
I use a lot http://gradleplease.appspot.com/
One problem I have currently with it is that half of my Gradle is in Groovy (build.gradle
) while the other half is in Kotlin (build.gradle.kts
). Example here:
https://github.com/jmfayard/gradle-kotlin-dsl-libs/blob/50dace493f87711e1fead346160a9dcf12d3cd43/build.gradle.kts#L40-L49
As you can see here, it's almost the same except for the parenthesis and double quotes (like in java) instead of single quotes). And actually Groovy will gladly accept as well the double quotes and parenthesis!
So I wonder if it would be a problem to change the output of Gradle Please like this
-implementation 'com.square.retrofit:retrofit2:2.3.0'
+implementation("com.square.retrofit:retrofit2:2.3.0")
Thanks,
Jean-Michel