mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-11 13:17:45 +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
|
|
}
|