-
Notifications
You must be signed in to change notification settings - Fork 46
/
build.gradle
53 lines (39 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
plugins {
id "org.jetbrains.intellij" version "0.0.43"
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
sourceCompatibility = 1.6
intellij {
plugins 'android'
updateSinceUntilBuild false
// version 'IC-15.0.5'
pluginName 'Android Postfix Completion'
alternativeIdePath AndroidStudioPath
updateSinceUntilBuild = false
sameSinceUntilBuild = false
}
group 'com.kogitune.intellij.codeinsight'
version '2.0.3 '
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.easytesting', name: 'fest-reflect', version: '1.4.1'
compileOnly fileTree(dir: "lib", include: ['*.jar'])
compileOnly fileTree(dir: "$AndroidStudioPath/plugins/android/lib", include: ['*.jar'])
compileOnly fileTree(dir: "$AndroidStudioPath/lib", include: ['*.jar'])
compileOnly fileTree(dir: "$AndroidStudioPath/gradle/m2repository/com/android/tools/sdklib/25.2.0-alpha5/sdklib-25.2.0-alpha5.jar")
}
configurations {
compile.exclude module: 'idea'
}
task(verifySetup) << {
def ideaJar = "$AndroidStudioPath/lib/idea.jar"
if (!file(ideaJar).exists()) {
throw new GradleException("$ideaJar not found, set AndroidStudioPath in gradle.properties")
}
}