From c72b856b05d7ac1e3ac60c446b69e5a49f55389d Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Sun, 27 Oct 2019 21:14:00 -0400 Subject: [PATCH] Don't add new public APIs for Kotlin type inference We can do a better job of this when we make the core Moshi module depend on the Kotlin stdlib --- .../kotlin/reflect/-MoshiKotlinExtensions.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) rename kotlin/{reflect/src/main/java => tests/src/test/kotlin}/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt (83%) diff --git a/kotlin/reflect/src/main/java/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt b/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt similarity index 83% rename from kotlin/reflect/src/main/java/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt rename to kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt index ec9d3b7..ba67a99 100644 --- a/kotlin/reflect/src/main/java/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt +++ b/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/-MoshiKotlinExtensions.kt @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2019 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.squareup.moshi.kotlin.reflect import com.squareup.moshi.JsonAdapter