mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
* Make moshi-root a kotlin project * Move moshi kotlin extensions to moshi core * Add appropriate experimental annotations * Add nextAdapter helper * Add explicit return type on addAdapter * Expression body for adapter * Use nextAdapter helper * Opportunistically fix a couple Util warnings * Add Types extensions * Spotless * Use extensions in more places for added coverage * Apply java versions on any java plugin type This way the kotlin projects get this too * Fix circularAdapters test? * Use java 8 in java for code gen too * Fixup with CircularAdaptersTest * Add coverage for remaining * Remove nextAdapter * Remove leftover function * Use asserts left checkNotNull for the contract * boxIfPrimitive * Fixup docs * Copyright fixes * Add parameterized addAdapter * Switch to using native javaType API * Spotless * Back to 2019 * Spotless * Use rawType extension * Fix rebase issues
25 lines
869 B
Properties
25 lines
869 B
Properties
#
|
|
# Copyright (C) 2020 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
|
|
#
|
|
# https://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.
|
|
#
|
|
|
|
POM_NAME=Moshi
|
|
POM_ARTIFACT_ID=moshi
|
|
POM_PACKAGING=jar
|
|
AUTOMATIC_MODULE_NAME=com.squareup.moshi
|
|
|
|
# Kotlin adds the stdlib dep by default in 1.4.0+, but we want to effectively make it compileOnly
|
|
# for our case to avoid imposing it on consumers.
|
|
kotlin.stdlib.default.dependency=false
|