-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathbuild.gradle
More file actions
125 lines (105 loc) · 3.32 KB
/
Copy pathbuild.gradle
File metadata and controls
125 lines (105 loc) · 3.32 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
plugins {
id 'org.springframework.boot' version '4.0.6'
id 'io.spring.dependency-management' version '1.1.7'
id 'java'
id 'application'
id("org.openjfx.javafxplugin") version "0.1.0"
id("maven-publish")
}
group = 'com.dnanalyzer'
version = '1.2.1'
sourceCompatibility = '17'
targetCompatibility = '17'
repositories {
mavenCentral()
}
def junitVersion = "5.8.2"
javafx {
version = "19"
modules = ['javafx.controls', 'javafx.graphics', 'javafx.fxml', 'javafx.base']
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.json:json:20230227'
implementation 'info.picocli:picocli:4.7.7'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'javax.validation:validation-api:2.0.1.Final'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.46'
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.8.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation "org.junit.jupiter:junit-jupiter-api:6.0.3"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:6.0.3"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
testImplementation 'org.junit.jupiter:junit-jupiter-params:6.0.3'
implementation 'com.google.guava:guava:33.6.0-jre'
implementation 'io.sentry:sentry:8.40.0'
implementation 'org.controlsfx:controlsfx:11.2.3'
implementation group: 'com.github.plexpt', name: 'chatgpt', version: '4.0.1'
implementation 'com.theokanning.openai-gpt3-java:service:0.18.2'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.apache.commons:commons-io:1.3.2'
implementation 'org.freemarker:freemarker:2.3.34'
implementation 'org.jfree:jfreechart:1.5.6'
}
sourceSets {
main {
resources {
srcDir 'src/main/resources'
srcDir 'src/python'
}
}
}
application {
mainClass = 'DNAnalyzer.Main'
}
bootRun {
mainClass.set('DNAnalyzer.api.ApiApplication')
}
bootJar {
mainClass = 'DNAnalyzer.api.ApiApplication'
archiveClassifier = 'boot'
}
publishing {
repositories {
maven {
name = "Github"
url = uri("https://maven.pkg.github.com/VerisimilitudeX/DNAnalyzer")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}
publications {
register("jar", MavenPublication) {
from(components["java"])
groupId = 'live.dnanalyzer'
artifactId = 'dnanalyzer'
version = '3.0.0-beta.0'
pom {
url.set("https://github.com/VerisimilitudeX/DNAnalyzer.git")
}
}
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
maxHeapSize = "2g"
}
jar {
manifest {
attributes 'Main-Class': 'DNAnalyzer.Main'
}
duplicatesStrategy = 'exclude'
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}