11buildscript {
22 repositories {
3- jcenter()
4- maven { url ' http://dl.bintray.com/jetbrains/intellij-plugin-service' }
53 mavenCentral()
4+ maven {
5+ url " https://oss.sonatype.org/content/repositories/snapshots/"
6+ }
7+ maven {
8+ url ' https://dl.bintray.com/jetbrains/intellij-plugin-service'
9+ }
10+ }
11+ dependencies {
12+ classpath " org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.5.0-SNAPSHOT"
613 }
714}
815
9- plugins {
10- id ' java'
11- id ' org.jetbrains.intellij' version ' 0.3.5'
12- }
16+ // plugins {
17+ // id 'java'
18+ // id 'org.jetbrains.intellij' version '0.3.5'
19+ // }
1320
1421// 2.1 插件配置
1522// 这两个插件是必备
1623apply plugin : ' idea'
24+ apply plugin : ' java'
1725apply plugin : ' org.jetbrains.intellij'
1826
1927group ' com.sjhy'
20- version ' 1.2.2 -RELEASE'
28+ version ' 1.2.3 -RELEASE'
2129
2230sourceCompatibility = JavaVersion . VERSION_1_8
2331targetCompatibility = JavaVersion . VERSION_1_8
@@ -30,8 +38,10 @@ repositories {
3038dependencies {
3139 compile group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.9.6'
3240 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
33- compileOnly " org.projectlombok:lombok:1.18.10"
34- annotationProcessor " org.projectlombok:lombok:1.18.10"
41+ annotationProcessor ' org.projectlombok:lombok:1.18.2'
42+ compileOnly ' org.projectlombok:lombok:1.18.2'
43+ testAnnotationProcessor ' org.projectlombok:lombok:1.18.2'
44+ testCompileOnly ' org.projectlombok:lombok:1.18.2'
3545}
3646
3747intellij {
@@ -40,8 +50,10 @@ intellij {
4050 // 沙箱目录位置,用于保存IDEA的设置,默认在build文件下面,防止clean,放在根目录下。
4151 sandboxDirectory = " ${ rootProject.rootDir} /idea-sandbox"
4252 // 开发环境运行时使用的版本
43- version ' 2018.1.5 '
53+ version ' 2020.1 '
4454 type ' IU'
55+ // 各种版本去这里找
56+ // https://www.jetbrains.com/intellij-repository/releases
4557 // 依赖的插件
4658 plugins = [' DatabaseTools' , ' Velocity' ]
4759 // Disables updating since-build attribute in plugin.xml
0 commit comments