-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (56 loc) · 1.33 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
buildscript {
ext.kotlin_version = '1.0.3'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
}
}
apply plugin: 'kotlin'
apply plugin: 'com.jfrog.bintray'
apply plugin: "maven-publish"
group 'com.kue'
version '1.0.2'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "com.google.inject:guice:4.0"
compile "com.typesafe:config:1.3.0"
compile "org.slf4j:slf4j-api:1.7.21"
compile "com.sparkjava:spark-core:2.5"
}
bintray {
user = bintrayUser
key = bintrayKey
publications = ['MyPublication']
pkg {
repo = 'maven'
name = 'kue-core'
licenses = ['MIT']
vcsUrl = 'https://github.com/kue-framework/kue-core'
version {
name = '1.0.2'
}
}
}
publishing {
publications {
MyPublication(MavenPublication) {
from components.java
groupId group
artifactId 'kue-core'
version '1.0.2'
artifact sourceJar {
classifier "sources"
}
}
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
}