1 Star 3 Fork 0

starcwang / easy_generate

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.52 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
starcwang 提交于 2021-11-21 17:33 . 2.0.0 new feature
plugins {
id 'groovy'
id 'java'
id 'org.jetbrains.intellij' version '0.6.5'
}
group 'com.star.easygenerate'
version '2.0.0'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
// maven {
// url "http://repo1.maven.org/maven2"
// }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
// all versions https://data.services.jetbrains.com/products?fields=code,name,releases.downloads,releases.version,releases.build,releases.type&code=DG,PS,DL,MPS,MPSIIP,RDCPPP,WS,AC,IIC,IIE,GO,CL,PCD,PCC,RD,PCE,IIU,RM,PCP
intellij {
// 如果需要支持lombok动态生成的getter和setter这里就需要加上lombok插件
plugins = ['java', "com.intellij.properties", 'Lombook Plugin:0.33-2020.1']
version '2020.1'
pluginName 'Easy Generate'
downloadSources true
updateSinceUntilBuild false
}
patchPluginXml {
changeNotes """
<h3>v2.0.0 new feature</h3>
<ul>
<li>add setter generator</li>
<li>add camel case converter</li>
</ul>
<h3>v1.2.1 fix bugs</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.10 create unit test</h3>
<ul>
<li>support generate constant for field</li>
</ul>
<h3>v1.0 first version</h3>
<ul>
<li>support generate constant for field</li>
</ul>
"""
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}

评论 ( 0 )

你可以在登录后,发表评论

Java
1
https://gitee.com/starcwang/easy_generate.git
git@gitee.com:starcwang/easy_generate.git
starcwang
easy_generate
easy_generate
main

搜索帮助

182229 41614e54 1850385 182230 7885ed45 1850385