-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
86 lines (77 loc) · 2.24 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
84
85
86
group 'com.github.shadskii'
version '2.0.0'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = false
}
classDirectories = fileTree(dir: 'build/classes/main', include: 'freetimelabs/io/**')
sourceDirectories = fileTree(dir: 'scr/main/java', include: 'freetimelabs/io/**')
}
dependencies {
compile group: 'io.projectreactor', name: 'reactor-core', version: '3.1.1.RELEASE'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
}
check.dependsOn jacocoTestReport
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
apply plugin: 'com.bmuschko.nexus'
archivesBaseName = 'reactorfx'
modifyPom {
project {
name 'ReactorFX'
description 'Reactive JavaFX event handling'
url 'https://github.com/shadskii/ReactorFX'
inceptionYear '2018'
scm {
connection 'scm:git:https://github.com/shadskii/ReactorFX.git'
developerConnection 'scm:git:https://github.com/shadskii/ReactorFX.git'
url 'https://github.com/shadskii/ReactorFX'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'shadskii'
name 'Jake Hassel'
email '[email protected]'
}
developer {
id 'thekalinga'
name 'Ashok Koyi'
url 'https://thekalinga.in'
organization '1Ton technolgies'
organizationUrl 'https://1ton.in'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}