代码拉取完成,页面将自动刷新
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>
"""
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。