-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
60 lines (48 loc) · 995 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
apply from: "$rootDir/version.gradle"
ext {
gradlePluginVersion = '8.7.1'
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradlePluginVersion"
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
id 'com.ncorti.ktfmt.gradle' version '0.21.0'
}
group 'kdocformatter'
version '1.0'
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
task lint {
dependsOn ':library:lint', ':cli:lint', ':ide-plugin:lint'
}
task install {
dependsOn ':cli:installDist', 'test'
}
task zip {
dependsOn ':cli:distZip', 'test'
}
task runIde {
dependsOn ':ide-plugin:runIde'
}
task plugin {
dependsOn ':ide-plugin:buildPlugin'
}
task all {
dependsOn 'clean', 'install', 'plugin', 'zip'
}
clean.doFirst {
delete "${rootDir}/m2"
delete "${rootDir}/gradle-plugin/build"
}