1 Star 0 Fork 615

MelodyJerry / EasyCode

forked from makejava / EasyCode 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
makejava 提交于 2021-01-12 15:12 . 解决Lombok失效问题
buildscript {
repositories {
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
maven { url 'https://dl.bintray.com/jetbrains/intellij-plugin-service' }
maven { url 'https://dl.bintray.com/jetbrains/intellij-third-party-dependencies/' }
}
dependencies {
classpath "org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.6.0"
}
}
//2.1 插件配置
// 这两个插件是必备
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.6.0'
}
group 'com.sjhy'
version '1.2.4-RC4'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
jcenter()
mavenCentral()
}
intellij {
// 插件名称
pluginName 'EasyCode'
// 沙箱目录位置,用于保存IDEA的设置,默认在build文件下面,防止clean,放在根目录下。
sandboxDirectory = "${rootProject.rootDir}/idea-sandbox"
// 开发环境运行时使用的版本
version '2020.1.2'
type 'IU'
// 各种版本去这里找
// https://www.jetbrains.com/intellij-repository/releases
// 依赖的插件
plugins = ['java', 'DatabaseTools', 'Velocity']
//Disables updating since-build attribute in plugin.xml
updateSinceUntilBuild false
downloadSources = true
}
dependencies {
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'
compileOnly 'org.projectlombok:lombok:1.18.2'
annotationProcessor 'org.projectlombok:lombok:1.18.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.2'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
Java
1
https://gitee.com/melodyjerry/EasyCode.git
git@gitee.com:melodyjerry/EasyCode.git
melodyjerry
EasyCode
EasyCode
master

搜索帮助