-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (42 loc) · 980 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.6.5'
}
group 'fr.readthedocs'
version '0.1.3-alpha'
jar {
archivesBaseName = "Bindea"
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2020.3'
}
patchPluginXml {
changeNotes """
<p>Fast Fix</p>
<p>Changes :
<li>Changing uploading system. Was not correctly working due to some unsupported code.</li>
</p>
<p>Please mail us if you notice new bugs</p>
"""
}
test {
useJUnitPlatform()
}
publishPlugin {
def tempToken = ""
try {
tempToken = project.property("publish.token")
}catch (MissingPropertyException ignored){}
if(tempToken == "") {
tempToken = System.getenv("PUBLISH_TOKEN")
}
token = tempToken
}