Skip to content

Commit db5c984

Browse files
authored
Merge pull request #6 from mikeyhuang/master
New updates
2 parents d087279 + d0206c8 commit db5c984

344 files changed

Lines changed: 44128 additions & 381203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.gradle
2+
*.sw?
3+
.#*
4+
*#
5+
*~
6+
/build
7+
/code
8+
.metadata
9+
.factorypath
10+
.recommenders
11+
bin
12+
build
13+
lib/
14+
target
15+
16+
# eclipse ignore
17+
.settings/
18+
.project
19+
.classpath
20+
21+
# idea ignore
22+
.idea/
23+
*.ipr
24+
*.iml
25+
*.iws
26+
27+
28+
.factorypath
29+
.springBeans
30+
interpolated*.xml
31+
dependency-reduced-pom.xml
32+
build.log
33+
_site/
34+
.*.md.html
35+
manifest.yml
36+
MANIFEST.MF
37+
settings.xml
38+
activemq-data
39+
overridedb.*
40+
41+
.DS_Store
42+
.factorypath
43+
dump.rdb
44+
transaction-logs
45+
46+
out/
47+
src/test/resources/

build.gradle

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
plugins {
2+
id 'java'
3+
id 'application'
4+
id 'maven'
5+
id 'maven-publish'
6+
}
7+
8+
group 'com.mulinlab'
9+
version '1.1-SNAPSHOT'
10+
11+
// jdk版本
12+
sourceCompatibility = 1.8
13+
targetCompatibility = 1.8
14+
// java编译的时候缺省状态下会因为中文字符而失败
15+
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
16+
17+
repositories {
18+
mavenLocal()
19+
mavenCentral()
20+
}
21+
publishing {
22+
publications {
23+
mavenJava(MavenPublication) {
24+
from components.java
25+
afterEvaluate {
26+
artifactId = jar.baseName
27+
}
28+
}
29+
}
30+
}
31+
32+
dependencies {
33+
compile('com.intel.gkl:gkl:0.8.6') {
34+
exclude module: 'htsjdk'
35+
}
36+
37+
compile 'com.github.samtools:htsjdk:2.20.3'
38+
compile 'net.sf.jopt-simple:jopt-simple:5.0.3'
39+
compile 'org.apache.commons:commons-lang3:3.4'
40+
compileOnly 'org.apache.logging.log4j:log4j-api:2.3'
41+
compileOnly 'org.apache.logging.log4j:log4j-core:2.3'
42+
// compile 'org.apache.logging.log4j:log4j-api:2.3'
43+
// compile 'org.apache.logging.log4j:log4j-core:2.3'
44+
compile group: 'commons-io', name: 'commons-io', version: '2.6'
45+
compile group: 'org.broadinstitute', name: 'barclay', version: '2.1.0'
46+
compile group: 'de.charite.compbio', name: 'jannovar-core', version: '0.34'
47+
compile group: 'de.charite.compbio', name: 'jannovar-stats', version: '0.33'
48+
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.10.0'
49+
testCompile group: 'junit', name: 'junit', version: '4.12'
50+
}
51+
52+
application {
53+
mainClassName = 'org.mulinlab.varnote.cmdline.VarNoteCommandLine'
54+
}
55+
56+
configurations.all {
57+
exclude group: "org.slf4j", module: "slf4j-log4j12"
58+
exclude group: "log4j", module: "log4j"
59+
}
60+
61+
jar {
62+
manifest {
63+
attributes("Implementation-Title": "VarNote",
64+
"Implementation-Version": version,
65+
'Main-Class': 'org.mulinlab.varnote.cmdline.VarNoteCommandLine')
66+
}
67+
68+
from {
69+
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
70+
}
71+
exclude 'log4j.properties'
72+
exclude '**/*.SF'
73+
exclude '**/*.RSA'
74+
// exclude 'log4j2.xml'
75+
}
76+
77+
78+
tasks.withType(Javadoc) {
79+
options.addStringOption('Xdoclint:none')
80+
}
81+
82+
task sourcesJar(type: Jar, dependsOn: classes) {
83+
classifier = 'sources'
84+
from sourceSets.main.allSource
85+
}
86+
87+
task javadocJar(type: Jar, dependsOn: javadoc) {
88+
classifier = 'javadoc'
89+
from javadoc.destinationDir
90+
}
91+
92+
javadoc {
93+
options.addStringOption('Xdoclint:none', '-quiet')
94+
source = sourceSets.main.allJava
95+
include '**/*.java'
96+
}
97+
98+
artifacts {
99+
archives jar
100+
}
101+

gradle/wrapper/gradle-wrapper.jar

54.9 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Sat Sep 21 11:53:32 CST 2019
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip

gradlew

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)