-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (41 loc) · 1.33 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
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
// When updating the android gradle tools version from 7.0.2, ensure that the jacoco report
// is still generated. See the ./access-checkout/gradle/android.gradle file for reasons.
classpath 'com.android.tools.build:gradle:8.5.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.9.20'
classpath 'org.jacoco:org.jacoco.core:0.8.10'
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
classpath 'org.jlleitschuh.gradle:ktlint-gradle:10.1.0'
}
}
apply plugin: 'io.github.gradle-nexus.publish-plugin'
nexusPublishing {
packageGroup.set("com.worldpay")
repositoryDescription.set("")
repositories {
sonatype()
}
}
subprojects {
repositories {
google()
mavenCentral()
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: 'org.jlleitschuh.gradle.ktlint-idea'
ktlint {
android.set(true)
outputColorName.set('RED')
disabledRules = ['max-line-length','no-wildcard-imports']
}
}
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory.dir('.').get().asFile
}