forked from Link-Kou/intellij-mybaitslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (61 loc) · 2 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
68
69
70
71
72
73
74
75
76
buildscript {
repositories {
/*maven { url '/Users/lk/Downloads/ideaIU-2019.3.zip' }
maven { url '/Users/lk/Downloads/intellij-core-2019.3.zip' }
maven { url '/Users/lk/Downloads/ideaIU-2019.3-annotations.zip' }
maven { url '/Users/lk/Downloads/jbr-11_0_4-osx-x64-b520.11.tar.gz' }*/
maven { url '/Users/lk/Downloads/IDEA2020/'}
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url "https://www.jetbrains.com/intellij-repository/releases/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/"}
maven { url "https://dl.bintray.com/jetbrains/intellij-plugin-service/"}
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
dependencies {
}
}
plugins {
id 'idea'
id 'org.jetbrains.intellij' version '0.4.17'
}
//2.1 插件配置
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'idea'
apply plugin: 'java'
group 'com.linkkou'
version '1.0.3'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
maven { url '/Users/lk/Downloads/IDEA2020/' }
maven { url 'https://maven.aliyun.com/repository/public/'}
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
intellij {
pluginName 'MybatisLog'
// 开发环境运行时使用的版本
version '2020.1'
// 沙箱目录位置,用于保存IDEA的设置,默认在build文件下面,防止clean,放在根目录下。
//sandboxDirectory = "${rootProject.rootDir}/idea-sandbox"
type 'IU'
// 依赖的插件
//plugins = ['DatabaseTools', 'Velocity']
//Disables updating since-build attribute in plugin.xml
updateSinceUntilBuild false
downloadSources false
}
processResources {
from('src/main/java') {
include '**/*.png'
}
}
patchPluginXml {
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}