-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
87 lines (77 loc) · 2.11 KB
/
build.gradle
File metadata and controls
87 lines (77 loc) · 2.11 KB
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
87
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:4.3.0'
}
}
plugins {
id 'java-library'
id 'maven-publish'
id "com.jfrog.bintray" version "1.8.4"
// id 'signing'
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
pkg {
repo = 'rebaze-oss'
name = 'integrity'
userOrg = 'rebaze'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/rebaze/integrity.git'
publications = ['maven']
}
}
apply plugin: 'biz.aQute.bnd.builder'
task install() {}
// install.dependsOn(publishToMavenLocal)
group = 'org.rebaze.integrity'
description = """rebaze integrity - tree library"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
testRuntimeOnly group: 'org.slf4j', name: 'slf4j-simple', version:'1.6.1'
testImplementation group: 'junit', name: 'junit', version:'4.12'
}
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = 'sources'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
artifact sourcesJar
// artifact javadocJar
pom {
url = 'https://www.rebaze.com'
licenses {
license {
name = '(c) Rebaze Developers'
url = 'https://www.rebaze.com'
}
}
developers {
developer {
id = 'tonit'
name = 'Toni Menzel'
email = 'toni.menzel@rebaze.com'
}
}
scm {
connection = 'scm:git:git://github.com/rebaze/integrity.git'
developerConnection = 'scm:git:ssh://github.com/rebaze/integrity.git'
url = 'https://github.com/rebaze/integrity/'
}
}
}
}
}