changed moshi to compile only

master
Robinson 2022-03-07 14:20:00 +01:00
parent aa13f1364d
commit a581a6925c
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 8 additions and 15 deletions

18
LICENSE
View File

@ -5,18 +5,6 @@
Dorkbox LLC
Extra license information
- Moshi - A modern JSON library for Kotlin and Java
[The Apache Software License, Version 2.0]
https://github.com/square/moshi
Copyright 2022
Square, Inc
- OkIO - A modern I/O library for Android, Kotlin, and Java
[The Apache Software License, Version 2.0]
https://github.com/square/okio
Copyright 2022
Square, Inc
- kotlin-logging - Lightweight logging framework for Kotlin
[The Apache Software License, Version 2.0]
https://github.com/MicroUtils/kotlin-logging
@ -37,6 +25,12 @@
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
- Moshi - A modern JSON library for Kotlin and Java
[The Apache Software License, Version 2.0]
https://github.com/square/moshi
Copyright 2022
Square, Inc
- Updates - Software Update Management
[The Apache Software License, Version 2.0]
https://git.dorkbox.com/dorkbox/Updates

View File

@ -95,9 +95,8 @@ dependencies {
val moshiVer = "1.13.0"
// For JSON serialization
api("com.squareup.moshi:moshi:$moshiVer")
api("com.squareup.moshi:moshi-kotlin:$moshiVer")
api("com.squareup.okio:okio:3.0.0")
compileOnly("com.squareup.moshi:moshi:$moshiVer")
compileOnly("com.squareup.moshi:moshi-kotlin:$moshiVer")
// https://github.com/MicroUtils/kotlin-logging
api("io.github.microutils:kotlin-logging:2.1.21")