-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
43 lines (39 loc) · 1.27 KB
/
build.gradle.kts
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("org.sonarqube") version "3.3"
id("jacoco")
}
subprojects {
apply(plugin ="org.sonarqube")
sonarqube {
properties {
property ("sonar.coverage.jacoco.xmlReportPaths", "${projectDir.parentFile.path}/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml")
}
}
}
apply(plugin="org.sonarqube")
sonarqube {
properties {
property("sonar.projectKey", "Hermes_Android_Sonar")
property("sonar.organization", "ymedialabs")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.projectName","Hermes Android")
}
}
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.3")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10")
classpath("com.google.dagger:hilt-android-gradle-plugin:2.39.1")
classpath("com.google.gms:google-services:4.3.13")
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4.24.20")
classpath("org.jacoco:org.jacoco.core:0.8.7")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}