Have you ever wanted to be evil and start using `internal` types of a Kotlin library? You totally can and here is how https://www.liutikas.net/2025/01/12/Kotlin-Library-Friends.html
Also, if you do this to AndroidX libraries we'll 100% break you!
#kotlin #gradle
Also, if you do this to AndroidX libraries we'll 100% break you!
#kotlin #gradle
Comments
```
tasks.withType
friendPaths.from(friends.incoming.artifactView { }.files)
}
```
https://github.com/JetBrains/kotlin/blob/43698cdb40dfd512820d70570871e5b5f7a95ea9/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/kotlin-js-with-friend-paths/app/build.gradle.kts
Also some minor type inference fails across modules. Had to workaround two in code.
https://github.com/square/okhttp/pull/8651