-
Notifications
You must be signed in to change notification settings - Fork 91
/
build.gradle
47 lines (42 loc) · 1.26 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
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.2'
}
}
plugins {
// must be applied to root project
id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'
}
// These are specific to PdCode, but nexusPublishing needs them here:
// https://github.com/gradle-nexus/publish-plugin/issues/84
group = 'io.github.libpd.android'
version = '1.2.1-SNAPSHOT'
// Create a Sonatype user token for these environment variables:
// export ORG_GRADLE_PROJECT_sonatypeUsername="<tokenUsername>"
// export ORG_GRADLE_PROJECT_sonatypePassword="<tokenPassword>"
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/'))
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/'))
}
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // FIXME: com.noisepages.nettoyeur:midi
}
}
ext {
minSdkVersion = 28
compileSdkVersion = 34
buildToolsVersion = '34.0.0'
androidxLegacySupportVersion = '1.0.0'
ndkVersion = '25.2.9519653' // https://developer.android.com/ndk/downloads#lts-downloads
}