2020-08-03 16:07:06 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020, microG Project Team
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
apply plugin: 'com.squareup.wire'
|
|
|
|
apply plugin: 'kotlin'
|
2020-11-18 16:06:29 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'signing'
|
2020-08-03 16:07:06 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "com.squareup.wire:wire-runtime:$wireVersion"
|
|
|
|
}
|
|
|
|
|
|
|
|
wire {
|
|
|
|
kotlin {}
|
|
|
|
}
|
|
|
|
|
2021-01-21 10:41:07 +00:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += "$buildDir/generated/source/wire"
|
|
|
|
}
|
|
|
|
|
2020-08-03 16:07:06 +00:00
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = 1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = 1.8
|
|
|
|
}
|
2020-11-18 16:06:29 +00:00
|
|
|
|
|
|
|
apply from: '../gradle/publish-java.gradle'
|
2020-11-24 21:42:07 +00:00
|
|
|
|
|
|
|
description = 'Protocol buffers for microG implementation of play-services-nearby'
|