-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
81 lines (70 loc) · 2.34 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
plugins {
id 'java'
id 'maven-publish'
}
compileJava.options.encoding = 'UTF-8'
group = 'com.github.ZorTik'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.jetbrains', name: 'annotations', version: '20.1.0'
implementation 'com.google.code.gson:gson:2.9.0'
implementation project(":api")
implementation project(":core")
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testImplementation project(":api")
testImplementation project(":core")
testImplementation project(":shared")
testImplementation 'com.mysql:mysql-connector-j:8.0.32'
testImplementation 'org.xerial:sqlite-jdbc:3.41.2.2'
testImplementation 'org.apache.logging.log4j:log4j-core:2.19.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
testRuntimeOnly 'com.google.guava:guava:31.0-jre'
testRuntimeOnly 'commons-lang:commons-lang:2.6'
testCompileOnly 'org.projectlombok:lombok:1.18.24'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
}
test {
useJUnitPlatform()
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
compileJava.options.encoding = 'UTF-8'
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.github.ZorTik'
artifactId = project.name
version = '1.0'
from components.java
pom {
name = 'AdvancedSQLClient'
description = 'An Ultimate SQL client for Java!'
licenses {
license {
name = 'MIT License'
url = 'https://raw.githubusercontent.com/ZorTik/ContainrGUI/master/LICENSE'
}
}
developers {
developer {
id = 'zort'
name = 'ZorTik'
email = 'zortlegit@gmail.com'
}
}
}
}
}
}
}