forked from sbuettner/spring-boot-autoconfigure-wro4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (54 loc) · 1.48 KB
/
build.gradle
File metadata and controls
63 lines (54 loc) · 1.48 KB
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
apply plugin: 'java'
apply plugin: 'bintray'
apply plugin: 'maven-publish'
version = '0.0.5'
group = 'de.infinit'
description = 'A spring-boot-autoconfigure library that simplifies the usage of the wro4j library at https://code.google.com/p/wro4j/'
sourceCompatibility = 1.7
buildscript {
ext {
binTrayPluginVersion = '0.3'
}
repositories {
maven { url 'http://jcenter.bintray.com' }
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:${binTrayPluginVersion}"
}
}
ext {
springBootVersion = '1.0.1.RELEASE'
wro4jVersion = '1.7.4'
}
repositories {
mavenCentral()
maven { url 'http://repo.spring.io/milestone' }
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
// Spring Boot Starter Web
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
// WRO Extensions
compile("ro.isdc.wro4j:wro4j-extensions:${wro4jVersion}")
// Spring Boot Starter Test
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
bintray {
user = bintrayUser
key = bintrayApiKey
publications = ['mavenJava']
pkg {
repo = 'maven'
name = 'spring-boot-autoconfigure-wro4j'
desc = getDescription()
licenses = ['MIT']
labels = ['spring','spring-boot']
}
}