1 Star 9 Fork 2

Carter/idea-plugin-jpa-support

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.50 KB
一键复制 编辑 原始数据 按行查看 历史
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'io.freefair.gradle:lombok-plugin:5.3.3.3'
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.7.3'
id 'io.freefair.lombok' version '5.3.3.3'
}
apply plugin: 'java'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'io.freefair.lombok'
group 'com.ifengxue'
java {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
compile group: 'org.hibernate.javax.persistence', name: 'hibernate-jpa-2.1-api', version: '1.0.2.Final'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
compile group: 'org.mybatis.generator', name: 'mybatis-generator-core', version: '1.4.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.3'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.3'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
compileOnly fileTree('lib')
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.4.2'
testCompile group: 'mysql', name: 'mysql-connector-java', version: '8.0.24'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
pluginName 'JPA Support'
type 'IC'
def localPropertyFile = project.rootProject.file('local.properties')
Properties properties = new Properties()
if (localPropertyFile.exists()) {
properties.load(localPropertyFile.newDataInputStream())
}
def localIdePath = properties.get('local_ide_path');
if (localIdePath != null && !localIdePath.isEmpty()) {
localPath = localIdePath
printf('use local path: %s', localIdePath)
} else {
version '2020.3.2'
printf('use remote version: %s', version)
}
updateSinceUntilBuild false
plugins = ['java']
}
runIde {
systemProperty('idea.auto.reload.plugins', true)
}
test {
useJUnitPlatform()
}
patchPluginXml {
version '2.0.7-RC3'
changeNotes """
<ol>
<li>Optimize the way to input database connection information</li>
<li>Support to preview the generated beans and repository</li>
</ol>
"""
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fengxueing/idea-plugin-jpa-support.git
git@gitee.com:fengxueing/idea-plugin-jpa-support.git
fengxueing
idea-plugin-jpa-support
idea-plugin-jpa-support
master

搜索帮助