-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
62 lines (56 loc) · 1.86 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
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.google.gradle:osdetector-gradle-plugin:1.6.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'io.spring.gradle:dependency-management-plugin:1.0.7.RELEASE'
classpath 'me.champeau.gradle:jmh-gradle-plugin:0.4.8'
classpath 'net.ltgt.gradle:gradle-apt-plugin:0.21'
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
}
}
apply from: "${rootDir}/gradle/scripts/build-flags.gradle"
configure(projectsWithFlag('java', 'publish')) {
apply plugin: 'com.jfrog.bintray'
bintray {
user = System.getenv("bintrayUser")
key = System.getenv("bintrayKey")
publications = ['jar']
publish = true
// dryRun = true
pkg {
repo = 'maven'
userOrg = 'imasahiro'
name = project.archivesBaseName
desc = 'An annotation processor for auto-string-formatter to generate optimized String.format() methods'
websiteUrl = 'https://github.com/imasahiro/auto-string-formatter'
issueTrackerUrl = 'https://github.com/imasahiro/auto-string-formatter/issues'
vcsUrl = '[email protected]:imasahiro/auto-string-formatter.git'
licenses = ['Apache-2.0']
publicDownloadNumbers = true
//Optional version descriptor
version {
name = project.version
}
}
}
}
// Configure all Java projects
configure(projectsWithFlags('java')) {
// Common dependencies
dependencies {
// Test-time dependencies
testCompile 'com.google.guava:guava-testlib'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
}
}