-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuild.gradle
67 lines (49 loc) · 1.09 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
plugins {
id "org.jetbrains.intellij" version "0.4.15"
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
dependencies {
compile fileTree('lib')
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
idea {
module {
name = 'IDLua'
}
}
jar {
archiveName = 'IDLua.jar'
}
intellij {
version ideaVersion
// plugins = ['copyright', "java"]
plugins = ['copyright', "java", "PsiViewer:202-SNAPSHOT.3"]
if (hasProperty("sources")) {
downloadSources Boolean.valueOf(sources)
}
pluginName = 'Lua'
type = "IC"
updateSinceUntilBuild false
}
import org.apache.tools.ant.taskdefs.condition.Os
task copyIncludes(type: Copy) {
from 'include'
into new File(prepareSandbox.destinationDir, intellij.pluginName)
dependsOn prepareSandbox
}
prepareSandbox {
}
runIde {
dependsOn copyIncludes
}
buildPlugin {
dependsOn copyIncludes
}
publishPlugin {
username publishUsername
password publishPassword
}
group 'com.sylvanaar'