-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (46 loc) · 1.21 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
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id "com.jfrog.bintray" version "1.8.4"
}
group 'com.neva.commons'
description = 'Gitignore File Filter'
defaultTasks = ['publishToMavenLocal']
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
bintray {
user = project.findProperty('bintrayUser') ?: System.getenv('BINTRAY_USER')
key = project.findProperty('bintrayKey') ?: System.getenv('BINTRAY_KEY')
publications = ['mavenJava']
pkg {
repo = 'maven-public'
name = 'gitignore-file-filter'
userOrg = 'neva-dev'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/neva-dev/gitignore.git'
labels = ['gitignore', 'git', 'vcs']
version {
name = project.version
desc = "${project.description} ${project.version}"
vcsTag = project.version
}
}
publish = true
}