-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathbuild.gradle
46 lines (39 loc) · 1.22 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 指定IDEA的SDK的版本
// https://github.com/JetBrains/gradle-intellij-plugin/
plugins {
id('java')
id("org.jetbrains.intellij") version "1.13.2"
}
// 使用IntelliJ IDEA的插件
apply plugin: 'idea'
apply plugin: "org.jetbrains.intellij"
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url "https://plugins.gradle.org/m2/" }
}
}
dependencies {
testCompileOnly group: 'junit', name: 'junit', version: '4.12'
implementation group: 'com.github.jsqlparser', name: 'jsqlparser', version: '1.3'
compileOnly fileTree(include: ['*.jar'], dir: ideaSDKlocalPath + '/Contents/plugins/DatabaseTools/lib')
}
// 当前开发该插件的 IDEA 版本
// See https://github.com/JetBrains/gradle-intellij-plugin/
// https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html?from=jetbrains.org#intellij-platform-based-products-of-recent-ide-versions
intellij {
version = "2023.1"
type = "IU"
plugins = ["java"]
}
// 内部版本号范围
patchPluginXml {
sinceBuild = '231'
untilBuild = '231.*'
}
group 'me.hehaiyang.codegen'
// 插件版本
version '2.0.231'