-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
94 lines (83 loc) · 3.14 KB
/
Copy pathbuild.gradle
File metadata and controls
94 lines (83 loc) · 3.14 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
group 'com.anahoret'
version '1.2-RELEASE'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.maiflai:gradle-scalatest:0.15"
}
}
apply plugin: 'maven'
apply plugin: 'scala'
apply plugin: "com.github.maiflai.scalatest"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.scala-lang', name: 'scala-library', version: '2.12.2'
compile group: 'org.springframework', name: 'spring-context', version: '4.3.8.RELEASE'
compile group: 'org.springframework', name: 'spring-context-support', version: '4.3.8.RELEASE'
compile group: 'org.springframework', name: 'spring-webmvc', version: '4.3.8.RELEASE'
compile group: 'org.freemarker', name: 'freemarker', version: '2.3.23'
compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: '1.5.3.RELEASE'
testCompile group: 'org.scalatest', name: 'scalatest_2.12', version: '3.0.3'
testRuntime 'org.pegdown:pegdown:1.4.2'
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
javadoc {
classpath += sourceSets.main.compileClasspath
source += sourceSets.main.allJava
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier 'javadoc'
from scaladoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://artifactory.anahoret.com/artifactory/anahoret/") {
authentication(userName: anahoretArtifactoryUser, password: anahoretArtifactoryPassword)
}
pom.groupId = 'com.github.anadea'
pom.artifactId = 'freemarker-scala-spring-boot-autoconfigure'
pom.version = version
pom.packaging = 'jar'
pom.name = 'Freemarker Scala SpringBoot autoconfigure'
pom.project {
inceptionYear '2017'
description = 'Scala objects wrapper Spring Boot autoconfiguration for Freemarker library'
url = 'https://github.com/Anadea/freemarker-scala-spring-boot-autoconfigure'
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id = 'alexander_mikhalchenko'
name = 'Alexander Mikhalchenko'
email = 'aam@anadeainc.com'
}
}
scm {
connection = 'https://github.com/Anadea/freemarker-scala-spring-boot-autoconfigure.git'
developerConnection = 'https://github.com/Anadea/freemarker-scala-spring-boot-autoconfigure.git'
url = 'https://github.com/Anadea/freemarker-scala-spring-boot-autoconfigure'
}
}
}
}
}