mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Prepare project for Kotlin migration (#1257)
This commit is contained in:
@@ -14,19 +14,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
kotlin("kapt")
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = listOf("-progressive")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
kapt(project(":kotlin:codegen"))
|
||||
compileOnly(Dependencies.jsr305)
|
||||
|
Reference in New Issue
Block a user