-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.gradle
73 lines (65 loc) · 1.8 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
/*
* Copyright (c) 2016. Michael Buhot [email protected]
*/
group 'mbuhot'
version '0.8.0'
apply plugin: 'kotlin'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
}
}
dependencies {
compile "org.elasticsearch:elasticsearch:7.5.1"
compile "org.elasticsearch.plugin:parent-join-client:7.5.1"
compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.61"
testCompile "org.apache.logging.log4j:log4j-api:2.13.0"
testCompile "org.apache.logging.log4j:log4j-core:2.13.0"
testCompile 'com.fasterxml.jackson.core:jackson-databind:2.10.2'
testCompile "junit:junit:4.13"
}
repositories {
mavenCentral()
}
task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['mavenJava']
dryRun = false
publish = true
pkg {
repo = 'maven'
name = 'eskotlin'
desc = 'Elasticsearch Query DSL for Kotlin'
websiteUrl = 'https://github.com/mbuhot/eskotlin'
issueTrackerUrl = 'https://github.com/mbuhot/eskotlin/issues'
vcsUrl = 'https://github.com/mbuhot/eskotlin.git'
licenses = ['MIT']
labels = ['kotlin', 'elasticseasrch']
publicDownloadNumbers = true
version {
name = project.version
released = new Date()
vcsTag = project.version
}
}
}