mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-11 14:49:24 +01:00
30 lines
481 B
Groovy
30 lines
481 B
Groovy
/*
|
|
* SPDX-FileCopyrightText: 2020, microG Project Team
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
apply plugin: 'com.squareup.wire'
|
|
apply plugin: 'kotlin'
|
|
|
|
dependencies {
|
|
implementation "com.squareup.wire:wire-runtime:$wireVersion"
|
|
}
|
|
|
|
wire {
|
|
kotlin {
|
|
javaInterop = true
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += "$buildDir/generated/source/wire"
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = 1.8
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = 1.8
|
|
}
|