-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathbuild.gradle
61 lines (54 loc) · 1.92 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id 'org.jetbrains.intellij' version '1.9.0'
}
Properties properties = new Properties()
def lp = project.rootProject.file('local.properties')
def IJ_REPO_TOKEN
if (lp.exists()) {
properties.load lp.newDataInputStream()
IJ_REPO_TOKEN = properties.getProperty("IJ_REPO_TOKEN")
}
group 'com.github.mars05'
version pluginVersion
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile group: 'org.freemarker', name: 'freemarker', version: '2.3.31'
compile 'org.modelmapper:modelmapper:2.3.0'
compile fileTree(dir: 'lib', include: ['*.jar'])
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly 'org.projectlombok:lombok:1.18.6'
annotationProcessor 'org.projectlombok:lombok:1.18.6'
compile('com.baomidou:mybatis-plus-core:3.5.0') {
exclude group: 'com.baomidou', module: 'mybatis-plus-annotation'
// exclude group: 'org.mybatis', module: 'mybatis'
}
compile 'cn.smallbun.screw:screw-core:1.0.5'
compile 'com.alibaba:druid:1.2.8'
compile('org.springframework.boot:spring-boot-starter-validation:2.6.2') {
exclude group: 'org.springframework'
exclude group: 'org.springframework.boot'
}
compile 'org.apache.commons:commons-lang3:3.12.0'
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.47'
compile 'mysql:mysql-connector-java:8.0.27'
compile 'org.postgresql:postgresql:42.3.1'
compile 'com.oracle.database.jdbc:ojdbc8:21.4.0.0.1'
compile 'com.oracle.database.nls:orai18n:21.4.0.0.1'
}
intellij {
version.set(ideaVersion)
updateSinceUntilBuild.set(false)
sandboxDir.set("${rootProject.projectDir}/idea-sandbox/idea-${ideaVersion}")
plugins.set(['java', 'maven'])
}
publishPlugin {
token.set(IJ_REPO_TOKEN)
}