mirror of
https://github.com/square/okhttp.git
synced 2025-08-08 23:42:08 +03:00
Create a friends configuration to use internals. (#8651)
* Create a friends configuration to use internals. From https://www.liutikas.net/2025/01/12/Kotlin-Library-Friends.html we should avoid using @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") So instead lets just be friends.
This commit is contained in:
@@ -15,7 +15,7 @@ project.applyOsgi(
|
||||
)
|
||||
|
||||
dependencies {
|
||||
api(projects.okhttp)
|
||||
"friendsApi"(projects.okhttp)
|
||||
compileOnly(libs.findbugs.jsr305)
|
||||
compileOnly(libs.animalsniffer.annotations)
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
|
||||
package okhttp3.java.net.cookiejar
|
||||
|
||||
|
Reference in New Issue
Block a user