forked from romanpierson/vertx-web-accesslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·84 lines (63 loc) · 1.74 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
82
83
plugins {
id "com.jfrog.bintray" version "1.7.3"
}
repositories {
mavenCentral()
jcenter()
}
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
version='1.0.0'
dependencies {
compile 'io.vertx:vertx-web:3.5.0'
// Logback (via SLF4J)
testRuntime 'ch.qos.logback:logback-classic:1.1.7'
// Log4J
//testRuntime 'log4j:log4j:1.2.17'
testCompile 'junit:junit:4.11'
}
sourceCompatibility='1.8'
targetCompatibility='1.8'
jar.archiveName = "vertx-web-accesslog-1.0.0.jar"
bintrayUpload.packageName = "vertx-web-accesslog-1.0.0.jar"
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId 'com.mdac'
artifactId 'vertx-web-accesslog'
version '1.0.0'
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['mavenJava']
dryRun = false
publish = true
pkg {
repo = 'maven'
name = 'com.mdac.vertx-web-accesslog'
licenses = ['Apache-2.0']
labels = ['vertx', 'log', 'accesslog']
publicDownloadNumbers = true
//Optional version descriptor
override = false
vcsUrl = 'https://github.com/romanpierson/vertx-web-accesslog.git'
version {
name = '1.0.0'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
}