forked from zhengjunbase/codehelper.generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (41 loc) · 1.24 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
buildscript {
repositories {
mavenCentral()
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service'}
}
}
plugins {
id "org.jetbrains.intellij" version "0.1.10"
}
repositories {
mavenCentral()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
intellij {
// IC-2016.1 IC-14.1.4 IC-2016.3 IU-2016.1
version 'IC-2016.3' //IntelliJ IDEA dependency
// plugins 'coverage' //Bundled plugin dependencies
pluginName 'MyBatisCodeHelper'
updateSinceUntilBuild false
// 需要来填写publish这块 类似
// publish {
// username 'AmailP'
// pluginId '7415'
// }
}
dependencies{
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'org.freemarker', name: 'freemarker', version: '2.3.23'
compile "mysql:mysql-connector-java:5.1.40"
compile group: 'uk.com.robust-it', name: 'cloning', version: '1.9.3'
compile 'com.squareup.okhttp3:okhttp:3.6.0'
testCompile "org.assertj:assertj-core:2.2.0"
}
group 'org.jetbrains'
version '1.5.0-SNAPSHOT' // Plugin version