-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (71 loc) · 2.11 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
/*
* This file was generated by the Gradle 'init' task.
*/
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.johnrengelman:shadow:7.1.2"
}
}
plugins {
id 'java-library'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.11'
id 'org.beryx.jlink' version '2.24.4'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
repositories {
mavenLocal()
maven {
url = uri('https://bio.informatik.uni-jena.de/repository/libs-release-oss/')
metadataSources {
artifact()
}
}
maven {
url = uri('https://nexus.gluonhq.com/nexus/content/repositories/releases/')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
mavenCentral()
}
javafx {
version = "17"
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.web', 'javafx.base', 'javafx.graphics', 'javafx.swing', 'javafx.media']
}
run {
doFirst {
jvmArgs = [
'--module-path', classpath.asPath,
'--add-modules', 'javafx.controls',
'--add-modules', 'javafx.fxml',
'--add-modules', 'javafx.graphics',
'--add-modules', 'javafx.base',
'--add-modules', 'javafx.swing',
'--add-modules', 'javafx.media',
]
}
}
mainClassName = "edu.uw.villenlab.isobaricquant.IsobaricQuant"
jlink {
moduleName = "IsobaricQuant"
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'IsobaricQuant-Standalone'
}
}
dependencies {
implementation fileTree(include: '*.jar', dir: 'lib')
implementation 'org.controlsfx:controlsfx:11.1.1'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'commons-cli:commons-cli:1.5.0'
runtimeOnly 'uk.ac.ebi.jmzml:jmzml:1.7.11'
implementation 'org.json:json:20211205'
implementation 'com.sun.xml.bind:jaxb-impl:3.0.2'
}