-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
112 lines (103 loc) · 3.45 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
plugins {
id 'java'
id 'idea'
id 'groovy'
id 'java-library'
id "maven-publish"
id "com.jfrog.bintray" version "1.8.4"
}
tasks.register("sourcesJar", Jar) {
from sourceSets.main.allJava
classifier "sources"
}
tasks.register("javadocJar", Jar) {
from javadoc
classifier "javadoc"
}
sourceCompatibility = JavaVersion.VERSION_11
group = "io.github.oemergenc"
repositories {
mavenCentral()
}
ext {
bintrayUser = project.findProperty('bintrayUser')
bintrayApiKey = project.findProperty('bintrayApiKey')
nexusUser = project.findProperty('nexusUser')
nexusPassword = project.findProperty('nexusPassword')
}
dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compileOnly 'org.projectlombok:lombok:1.18.10'
testCompileOnly 'org.projectlombok:lombok:1.18.10'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
implementation group: 'com.google.cloud.bigtable', name: 'bigtable-hbase-2.x-shaded', version: '1.4.0'
implementation(group: 'com.flipkart', name: 'hbase-object-mapper', version: '1.13') {
exclude group: 'org.apache.hbase', module: 'hbase-client'
}
implementation group: 'net.vidageek', name: 'mirror', version: '1.6.1'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '0.9.26'
testImplementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.6'
testImplementation group: 'org.spockframework', name: 'spock-core', version: '1.3-groovy-2.5'
testImplementation "org.testcontainers:spock:1.12.5"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = 'hbase orm extension'
description = 'some extension for the hbase orm library'
url = 'https://github.com/oemergenc/hbase-orm-extensions'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'oemergenc'
name = 'Oemer Genc'
email = 'oemergenc@gmail.com'
}
}
scm {
connection = 'scm:git:git@github.com:oemergenc/hbase-orm-extensions.git'
developerConnection = 'scm:git@github.com:oemergenc/hbase-orm-extensions.git'
url = 'https://github.com/oemergenc/hbase-orm-extensions'
}
}
}
}
}
bintray {
user = bintrayUser
key = bintrayApiKey
publications = ['mavenJava']
pkg {
repo = 'hbase-orm-extensions'
name = 'hbase-orm-extensions'
vcsUrl = 'https://github.com/oemergenc/hbase-orm-extensions.git'
licenses = ["Apache-2.0"]
version {
gpg {
sign = true
}
mavenCentralSync {
sync = true //[Default: true] Determines whether to sync the version to Maven Central.
user = nexusUser
password = nexusPassword
}
}
}
}