EasyCode/build.gradle

53 lines
1.3 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

buildscript {
repositories {
jcenter()
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
mavenCentral()
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.3.5'
}
//2.1 插件配置
// 这两个插件是必备
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
group 'com.sjhy'
version '1.2.2-RELEASE'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly "org.projectlombok:lombok:1.18.0"
}
intellij {
// 插件名称
pluginName 'EasyCode'
// 沙箱目录位置用于保存IDEA的设置默认在build文件下面防止clean放在根目录下。
sandboxDirectory = "${rootProject.rootDir}/idea-sandbox"
// 开发环境运行时使用的版本
version '2018.1.5'
type 'IU'
// 依赖的插件
plugins = ['DatabaseTools', 'Velocity']
//Disables updating since-build attribute in plugin.xml
updateSinceUntilBuild false
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}