forked from cmadsen/vldocking
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
68 lines (57 loc) · 1.33 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
plugins {
id 'com.jfrog.bintray' version '1.6'
}
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
version = '3.0.5'
repositories {
jcenter()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.5'
testCompile 'ch.qos.logback:logback-classic:1.0.13'
testCompile 'junit:junit:4.8'
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
javadoc {
failOnError = false
}
task javadocJar(type: Jar) {
from javadoc.outputs
}
publishing {
publications {
MyPublication(MavenPublication) {
groupId 'org.omegat'
artifactId 'vldocking'
version version
from components.java
artifact sourceJar {
classifier 'sources'
}
artifact javadocJar {
classifier 'javadoc'
}
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
pkg {
repo = 'maven'
name = 'vldocking'
licenses = ['LGPL-3.0']
userOrg = 'omegat-org'
websiteUrl = 'https://github.com/omegat-org/vldocking'
vcsUrl = 'https://github.com/omegat-org/vldocking.git'
version {
name = project.version
}
}
publications = ['MyPublication']
}