-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
80 lines (67 loc) · 1.87 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
plugins {
id "java"
id "idea"
id 'net.researchgate.release' version '2.8.1'
}
apply plugin: 'com.bmuschko.nexus'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
archivesBaseName = 'eventnative'
group 'org.eventnative'
version "$version"
modifyPom {
project {
name 'eventnative-java-sdk'
description 'Java SDK for Eventnative.'
url 'https://github.com/ksensehq/eventnative-java-sdk'
inceptionYear '2020'
scm {
url 'https://github.com/ksensehq/eventnative-java-sdk'
connection 'scm:https://github.com/ksensehq/eventnative-java-sdk.git'
developerConnection 'scm:git:github.com/ksensehq/eventnative-java-sdk.git'
}
licenses {
license {
name 'MIT License'
url 'https://opensource.org/licenses/MIT'
distribution 'repo'
}
}
developers {
developer {
id 'ksense'
name 'ksense'
email '[email protected]'
}
}
}
}
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/'
}
repositories {
mavenCentral()
}
dependencies {
compile "com.google.code.gson:gson:$gsonVersion"
compile "com.squareup.okhttp3:okhttp:$httpClientVersion"
compile "com.google.guava:guava:$guavaVersion"
compile "org.slf4j:slf4j-api:$loggerVersion"
compile "org.slf4j:slf4j-log4j12:$loggerVersion"
testCompile "junit:junit:$junitVersion"
}