mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Add JsonString recipe to examples (#1230)
* Start recipes module with JsonString recipe * Make recipes a kotlin project * Move JsonString sample to examples * Add license * Include all java modules * Add kotlin options * Spotless * Remove jvmtarget I was today years old when I found out 1.7 isn't a valid target * Make gradle happy * Add codegen * Spotless
This commit is contained in:
@@ -35,6 +35,12 @@ tasks.withType<KotlinCompile>().configureEach {
|
||||
}
|
||||
}
|
||||
|
||||
// To make Gradle happy
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
val shade: Configuration = configurations.maybeCreate("compileShaded")
|
||||
configurations.getByName("compileOnly").extendsFrom(shade)
|
||||
dependencies {
|
||||
|
Reference in New Issue
Block a user