-
Notifications
You must be signed in to change notification settings - Fork 137
/
Copy pathbuild.gradle
52 lines (42 loc) · 1.3 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.1.10"
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
sourceSets {
main {
resources {
exclude 'assets/android_icons'
exclude 'assets/material_icons'
}
}
}
intellij {
version project.hasProperty('ideaVersion') ? ideaVersion : 'IC-2016.2.4'
pluginName 'android-drawable-importer-intellij-plugin'
plugins 'android'
updateSinceUntilBuild false
sameSinceUntilBuild false
downloadSources !Boolean.valueOf(System.getenv('CI'))
publish {
username 'Prengepower'
pluginId '7658'
password System.getenv('PLUGIN_PASSWORD')
channel System.getenv('PLUGIN_CHANNEL') ?: ''
}
}
group 'de.mprengemann.intellij.plugin.androidicons'
def majorVersion = '0.6'
version "${Boolean.valueOf(System.getenv('CI')) ? "$majorVersion-${System.getenv('TRAVIS_BUILD_NUMBER')}" : "$majorVersion"}"
repositories {
mavenCentral()
}
dependencies {
compile 'commons-io:commons-io:2.4'
compile 'org.apache.commons:commons-math3:3.4.1'
compile 'org.imgscalr:imgscalr-lib:4.2'
compile 'net.coobird:thumbnailator:0.4.8'
compile 'com.google.code.gson:gson:2.3.1'
}