2020-08-04 23:57:23 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020, microG Project Team
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
apply plugin: 'com.squareup.wire'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-26 07:45:33 +00:00
|
|
|
implementation "com.squareup.wire:wire-runtime:3.6.1"
|
2020-08-04 23:57:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
wire {
|
|
|
|
kotlin {
|
|
|
|
javaInterop = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-13 20:58:28 +00:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += "$buildDir/generated/source/wire"
|
|
|
|
}
|
|
|
|
|
2020-08-04 23:57:23 +00:00
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = 1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = 1.8
|
2021-03-13 20:58:28 +00:00
|
|
|
}
|