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:
Zac Sweers
2020-09-25 22:51:05 -04:00
committed by GitHub
parent 44fa05bce1
commit bc85227f29
4 changed files with 89 additions and 2 deletions

View File

@@ -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 {