-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
70 lines (52 loc) · 1.26 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
57
58
59
60
61
62
63
64
65
66
67
68
69
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.1.2'
id 'org.kordamp.gradle.markdown' version '2.2.0'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.commons:commons-text:1.12.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
}
group 'com.haojiyou'
version '1.7.0'
apply plugin: 'org.kordamp.gradle.markdown'
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
markdownToHtml {
sourceDir = new File("$projectDir/docs")
outputDir = new File("$projectDir/docs")
}
intellij {
// version = 'IC-2021.1.3'
version = 'IC-2020.3'
pluginName = 'CharAutoReplace'
updateSinceUntilBuild = true
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
patchPluginXml {
changeNotes = file("$projectDir/docs/CHANGELOG.html").text
}
buildSearchableOptions {
enabled = false
}
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion = '6.8'
}
runIde {
autoReloadPlugins = true
}