-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
47 lines (41 loc) · 1.36 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
42
43
44
45
46
47
/*
* Copyright (c) 2022 Solana Mobile Inc.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// Add Jetpack Navigation safe args support: https://developer.android.com/jetpack/androidx/releases/navigation
buildscript {
repositories {
google()
}
dependencies {
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7"
}
}
// Add protobuf support: https://github.com/google/protobuf-gradle-plugin
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
}
}
plugins {
id 'com.android.application' version '8.5.0' apply false
id 'com.android.library' version '8.5.0' apply false
id 'org.jetbrains.kotlin.android' version '2.0.0' apply false
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}
nexusPublishing {
repositories {
sonatype {
// Username and password provided by ORG_GRADLE_PROJECT_sonatypeUsername and
// ORG_GRADLE_PROJECT_sonatypeUsername, respectively
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/'))
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/'))
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}