-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
64 lines (51 loc) · 1.45 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
buildscript {
repositories {
maven {
url 'http://sdf.csin.cz/artifactory/plugins.gradle.org/'
}
mavenCentral()
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.3.7'
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
group 'cz.csas.smartcase'
version '1.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven { url 'http://sdf.csin.cz/artifactory/plugins.gradle.org/' }
mavenCentral()
}
intellij {
version '2016.2'
plugins 'coverage' //Bundled plugin dependencies
pluginName 'scplugin'
updateSinceUntilBuild = true
}
patchPluginXml {
changeNotes """
Add change notes here.<br>
<em>most HTML tags may be used</em>"""
sinceBuild('IC-162')
untilBuild('182.*')
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
implementation group: 'org.graphstream', name: 'gs-algo', version: '1.3'
extraLibs group: 'org.graphstream', name: 'gs-algo', version: '1.3'
implementation group: 'org.graphstream', name: 'gs-ui', version: '1.3'
}
jar {
from { (configurations.extraLibs).collect { it.isDirectory() ? it : zipTree(it) } } {
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
}