-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
65 lines (57 loc) · 2.21 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
62
63
64
plugins {
id 'java'
// https://github.com/JetBrains/gradle-intellij-plugin
id 'org.jetbrains.intellij' version '1.15.0'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
runIde {
jvmArgs '--add-exports', 'java.base/jdk.internal.vm=ALL-UNNAMED'
}
group 'com.itcodebox'
//version '1.0'
repositories {
println "aliyun repositories ${project.name}"
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' }
// mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
// implementation fileTree(dir: 'libs', include: ['clion.jar', 'rider.jar'])
implementation group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4'
implementation group: 'commons-dbutils', name: 'commons-dbutils', version: '1.7'
implementation group: 'commons-pool', name: 'commons-pool', version: '1.6'
//存在于IDEAxx\lib 目录下 ,但是webstorm等并不包含SQLite包
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.34.0'
// https://mvnrepository.com/artifact/javax.activation/javax.activation-api
//存在于IDEAxx\lib 目录下, 但是目前idea还是可以使用这个java8的类,11及以后的java版本,不存在这个包, 需要自己添加javax的依赖
implementation group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
setVersion "2023.2.1"
setType "IC"
setPluginName 'Notebook'
setUpdateSinceUntilBuild false
// plugins = ["com.intellij.java", "org.jetbrains.kotlin", "Dart:203.5981.155","org.intellij.plugins.markdown"]
plugins = ["com.intellij.java", "org.jetbrains.kotlin"]
}
patchPluginXml {
setSinceBuild "232.9559.62"
}
//patchPluginXml {
// changeNotes """
// Add change notes here.<br>
// <em>most HTML tags may be used</em>"""
//}
test {
useJUnitPlatform()
}