You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are the right conversions:
groovy:
implementation fileTree(dir: "libs", include: [".jar"])
kotlin:
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf(".jar"))))
Hello I found out this 3 cases that it converted wrongly and I write you the right conversion. I hope it's helpful
I created a pull request fixing the first two issues with kapt.
groovy:
kaptAndroidTest SomeLibrary
kotlin:
kaptAndroidTest(SomeLibrary)
groovy:
kaptTest SomeLibrary
kotlin:
kaptTest(SomeLibrary)
Here are the right conversions:
groovy:
implementation fileTree(dir: "libs", include: [".jar"])
kotlin:
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf(".jar"))))
groovy:
maven {
url "SomeUrl"
credentials {
username 'SomeUsername'
password 'SomePassword'
}
}
kotlin:
The text was updated successfully, but these errors were encountered: