-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (38 loc) · 1.11 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
plugins {
id 'idea'
id "java"
id "com.github.hierynomus.license" version "0.16.1"
}
task licenseFormatSrouce(type: com.hierynomus.gradle.license.tasks.LicenseFormat) {
source = fileTree(dir: "src")
}
licenseFormat.dependsOn licenseFormatSrouce
license {
header = rootProject.file('gradle/wrapper/LICENSE.txt')
headerDefinitions {
anyiee_common {
firstLine = "/*"
endLine = " */"
beforeEachLine = " * "
firstLineDetectionPattern = "/\\*\$"
lastLineDetectionPattern = ".*\\*/(\\s|\\t)*\$"
allowBlankLines = false
isMultiline = true
}
anyiee_vue {
firstLine = "<!--"
endLine = " -->"
beforeEachLine = " * "
firstLineDetectionPattern = "/\\*\$"
lastLineDetectionPattern = ".*\\*/(\\s|\\t)*\$"
allowBlankLines = false
isMultiline = true
}
}
mapping {
vue = 'anyiee_vue'
ts = 'anyiee_common'
js = 'anyiee_common'
}
includes(["**/*.vue", "**/*.ts", "**/*.js"])
}