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
There are various examples of filenames that will cause class name collisions. Here are a few examples that will fail.
@Test
fun`script name collision test`() {
val script1 =
newFile("file#22.gradle.kts")
val script2 =
newFile("file,22.gradle.kts")
val scriptPlugin1 =ScriptPlugin(script1)
val scriptPlugin2 =ScriptPlugin(script2)
assertThat(
scriptPlugin1.simplePluginAdapterClassName,
not(equalTo(scriptPlugin2.simplePluginAdapterClassName)))
}
The above names will also colide with file🏗22.gradle.kts. The team may want to consider some sort of encoding scheme that handles these sorts of collisions.
The text was updated successfully, but these errors were encountered:
eskatos
changed the title
GenerateScriptPluginAdapters name collisions
Kotlin DSL GenerateScriptPluginAdapters name collisions
Apr 19, 2019
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
There are various examples of filenames that will cause class name collisions. Here are a few examples that will fail.
The above names will also colide with
file🏗22.gradle.kts
. The team may want to consider some sort of encoding scheme that handles these sorts of collisions.The text was updated successfully, but these errors were encountered: