-
Notifications
You must be signed in to change notification settings - Fork 40
/
build.gradle
36 lines (32 loc) · 936 Bytes
/
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
buildscript {
ext.kotlin_version = '1.9.10'
repositories {
google()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'de.mannodermaus.gradle.plugins:android-junit5:1.9.3.0'
classpath 'org.jlleitschuh.gradle:ktlint-gradle:11.5.1'
classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
}
}
apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: "${rootDir}/scripts/publish-root.gradle"
allprojects {
repositories {
google()
mavenCentral()
}
}
subprojects {
apply plugin: 'org.jlleitschuh.gradle.ktlint'
ktlint {
android = true
additionalEditorconfigFile = file('.editorconfig')
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}