1- group ' com.uni-tuebingen.de.it.eager.damageprofiler'
2- version ' 0.4.9'
1+ plugins {
2+ id ' application'
3+ id ' org.openjfx.javafxplugin' version ' 0.0.8'
4+ id ' org.beryx.jlink' version ' 2.12.0'
5+ }
36
4- buildscript {
5- repositories {
6- jcenter()
7- }
8- dependencies {
9- classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8+'
10- }
11- }
7+ version ' 0.5.0-java11'
128
139
14- allprojects {
15- repositories {
16- jcenter()
17- }
18- apply plugin : ' maven'
19- apply plugin : ' maven-publish'
20- apply plugin : ' java'
21- apply plugin : ' idea'
22- apply plugin : ' com.jfrog.bintray'
23- apply plugin : ' jacoco'
10+ repositories {
11+ mavenCentral()
12+ jcenter()
2413}
2514
2615
27- sourceCompatibility = 1.8
28-
29-
30- sourceSets {
31- main {
32- java {
33- srcDir ' src'
34- }
35- }
36- }
37-
16+ javafx {
17+ version = " 14"
18+ modules = [ ' javafx.controls' , ' javafx.fxml' , ' javafx.graphics' , ' javafx.base' , ' javafx.media' , ' javafx.swing' ,' javafx.web' ]
19+ }
3820
3921dependencies {
22+ compile group : ' log4j' , name : ' log4j' , version : ' 1.+'
4023 compile group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.+'
4124 compile group : ' commons-cli' , name : ' commons-cli' , version : ' 1.3.+'
4225 compile group : ' com.itextpdf' , name : ' itextpdf' , version : ' 5.5.+'
43- compile group : ' org.jfree' , name : ' jcommon' , version : ' 1.0.+'
44- compile group : ' jfree' , name : ' jfreechart' , version : ' 1.0.13'
4526 compile group : ' com.github.samtools' , name : ' htsjdk' , version : ' 2.+'
46- compile group : ' com.intellij' , name : ' forms_rt' , version : ' 6.0.+'
47- compile group : ' log4j' , name : ' log4j' , version : ' 1.+'
27+ compile group : ' com.intellij' , name : ' forms_rt' , version : ' 5.+'
4828 compile group : ' com.github.broadinstitute' , name : ' picard' , version : ' 2.+'
29+ compile group : ' org.jfree' , name : ' jfreesvg' , version : ' 2.0'
30+ compile group : ' org.apache.commons' , name : ' commons-text' , version : ' 1.+'
31+ compile ' org.jfree:jfreechart-fx:1.+'
4932}
5033
51-
52-
5334jar {
5435 manifest {
55- attributes(" Implementation-Title" : " DamageProfiler" ,
56- " Implementation-Version" : version, " main-Class" : " RunDamageProfiler" )
36+ attributes ' Main-Class' : ' RunDamageProfiler'
5737 }
58- doFirst {
59- from { configurations. runtime . collect { it. isDirectory() ? it : zipTree(it) } }
38+ from {
39+ configurations. runtimeClasspath . collect { it. isDirectory() ? it : zipTree(it) }
6040 }
6141}
6242
6343
64-
65-
66-
67- publishing {
68- publications {
69- MyPublication (MavenPublication ) {
70- from components. java
71- groupId ' com.uni-tuebingen.de.it.eager'
72- artifactId ' DamageProfiler'
73- }
74- }
75- }
76-
77-
78- jacocoTestReport {
79- reports {
80- xml. enabled true
81- }
82- }
83-
84-
85- bintray {
86- user = System . getenv(' BINTRAY_USER' )
87- key = System . getenv(' BINTRAY_API_KEY' )
88- publications = [' MyPublication' ]
89- publish = true
90- override = true
91- pkg {
92- repo = ' EAGER'
93- name = ' DamageProfiler'
94- licenses = [' GPL-3.0' ]
95- vcsUrl = " https://github.com/apeltzer/DamageProfiler"
96- version {
97- name = project. version
98- desc = ' Damage calculations for mapped reads.'
99- released = new Date ()
100- vcsTag = project. version
101- attributes = [' gradle-plugin' : ' com.use.less:com.use.less.gradle:gradle-useless-plugin' ]
102- }
103-
104- }
105- }
44+ // // Uncomment when compiling with java8
45+ // version '0.5.0-java8'
46+ // buildscript {
47+ // repositories {
48+ // jcenter()
49+ // }
50+ // dependencies {
51+ // classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8+'
52+ // }
53+ // }
54+ //
55+ // allprojects {
56+ // repositories {
57+ // jcenter()
58+ // }
59+ // apply plugin: 'maven'
60+ // apply plugin: 'maven-publish'
61+ // apply plugin: 'java'
62+ // apply plugin: 'idea'
63+ // apply plugin: 'com.jfrog.bintray'
64+ // apply plugin: 'jacoco'
65+ // }
66+ //
67+ // sourceCompatibility = 1.8
68+ //
69+ // sourceSets {
70+ // main {
71+ // java {
72+ // srcDir 'src'
73+ // }
74+ //
75+ // resources {
76+ // srcDirs "src/main/resources"
77+ // }
78+ // }
79+ // }
80+ //
81+ //
82+ // dependencies {
83+ // compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.+'
84+ // compile group: 'commons-cli', name: 'commons-cli', version: '1.3.+'
85+ // compile group: 'com.itextpdf', name: 'itextpdf', version: '5.5.+'
86+ // compile group: 'com.github.samtools', name: 'htsjdk', version: '2.+'
87+ // compile group: 'com.intellij', name: 'forms_rt', version: '6.0.+'
88+ // compile group: 'log4j', name: 'log4j', version: '1.+'
89+ // compile group: 'com.github.broadinstitute', name: 'picard', version: '2.+'
90+ // compile group: 'org.jfree', name: 'jfreesvg', version: '2.0'
91+ // compile group: 'org.apache.commons', name: 'commons-text', version: '1.+'
92+ // compile 'org.jfree:jfreechart-fx:1.+'
93+ // }
94+ //
95+ //
96+ // jar {
97+ // manifest {
98+ // attributes("Implementation-Title": "DamageProfiler",
99+ // "Implementation-Version": version, "main-Class": "RunDamageProfiler")
100+ // }
101+ // doFirst {
102+ // from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
103+ // }
104+ // }
0 commit comments