-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
56 lines (47 loc) · 1.55 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
51
52
53
54
55
56
buildscript {
repositories {
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
mavenCentral()
}
}
plugins {
id 'org.jetbrains.intellij' version '1.7.0'
}
group 'com.actiontech.sqle'
version "2.2308.0"
repositories {
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation("org.projectlombok:lombok:1.18.2")
implementation("com.github.vertical-blank:sql-formatter:2.0.4")
annotationProcessor 'org.projectlombok:lombok:1.18.2'
implementation("com.vladsch.flexmark:flexmark-all:0.64.8")
}
setupDependencies {
doLast {
// Fixes IDEA-298989.
fileTree("$buildDir/instrumented/instrumentCode") { include("**/*Form.class") }.files.forEach { delete(it) }
}
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
pluginName = "SQLE"
updateSinceUntilBuild = false
version = "2021.1.3"
plugins = ["yaml"]
}
patchPluginXml {
changeNotes = """
SQLE由上海爱可生信息技术股份有限公司(以下简称爱可生公司)出品和维护,是爱可生公司“云树SQL审核软件”(简称:CTREE SQLE)软件产品的开源版本。SQLE 是一个支持多场景,原生支持 MySQL
审核且数据库类型可扩展的 SQL 审核工具。"""
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}