-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
build.gradle
41 lines (37 loc) · 1.58 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import com.vanniktech.maven.publish.SonatypeHost
buildscript {
ext.nav_version = "2.8.5"
ext.protobuf_version = '0.9.0'
ext.refine_version = '4.4.0'
dependencies {
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath "com.google.protobuf:protobuf-gradle-plugin:$protobuf_version"
classpath "com.google.android.gms:oss-licenses-plugin:0.10.6"
}
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.7.3' apply false
id 'com.android.library' version '8.7.3' apply false
id 'org.jetbrains.kotlin.android' version '1.9.24' apply false
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
id 'dev.rikka.tools.refine' version "$refine_version" apply false
id 'com.google.devtools.ksp' version '1.9.24-1.0.20' apply false
id "com.google.gms.google-services" version "4.4.2" apply false
id "com.google.firebase.crashlytics" version "3.0.2" apply false
id "com.vanniktech.maven.publish" version "0.29.0" apply false
}
allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
}
//JavaDoc generation is currently broken on Java 17: https://github.com/Kotlin/dokka/issues/2956
tasks.configureEach { task ->
if(task.name.contains("javaDocReleaseGeneration")) {
task.enabled = false
}
}
}