forked from mParticle/mparticle-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (46 loc) · 1.22 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
48
49
50
51
52
53
54
buildscript {
ext.kotlin_version = '1.7.10'
ext.gradle_version = '7.1.3'
repositories {
mavenCentral()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.sonarqube" version "3.4.0.2513"
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
}
sonarqube {
properties {
property "sonar.projectKey", "mParticle_mparticle-android-sdk"
property "sonar.organization", "mparticle"
property "sonar.host.url", "https://sonarcloud.io"
}
}
subprojects {
apply plugin: 'org.sonarqube'
sonarqube {
androidVariant "release"
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
}
allprojects {
group = 'com.mparticle'
version = '5.43.0-SNAPSHOT'
if (project.hasProperty('isRelease') && project.isRelease) {
version = version.toString().replace("-SNAPSHOT", "")
}
repositories {
mavenLocal()
google()
mavenCentral()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
}