This repository has been archived by the owner on May 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
63 lines (53 loc) · 1.77 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
subprojects {
apply plugin: "java"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: "maven"
apply plugin: "signing"
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = "ua.profitsoft.social"
version = "0.1.0"
ext {
localSonatypeUserName = project.hasProperty("sonatypeUsername") ? project.sonatypeUsername : ""
localSonatypePassword = project.hasProperty("sonatypePassword") ? project.sonatypePassword :""
signingEnabled = project.hasProperty("signingEnabled") ? project.signingEnabled : false
}
repositories {
mavenCentral()
}
dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile("org.springframework.social:spring-social-core:$springSocialVersion"){
// transitive = false
}
compile("org.springframework.social:spring-social-config:$springSocialVersion"){
// transitive = false
}
compile("org.springframework.social:spring-social-security:$springSocialVersion"){
// transitive = false
}
compile ("org.springframework.security:spring-security-core:$springSecurityVersion")
}
task sourceJar(type: Jar) {
classifier = "sources"
from sourceSets.main.allJava
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = "javadoc"
from javadoc.destinationDir
}
artifacts {
archives jar
archives javadocJar
archives sourceJar
}
signing {
required { signingEnabled }
sign configurations.archives
}
}
task wrapper(type: Wrapper){
gradleVersion = "${gradleVersion}"
}