-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.gradle
42 lines (30 loc) · 1.08 KB
/
variable.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
ext {
projectName = "configuration"
projectGroup = "com.cefoler.configuration"
projectArtifact = project.name
projectVersion = "1.2.4"
projectDescription = "A Configuration wrapper for YAML, JSON and Properties."
projectSystem = "github"
projectUrl = "https://github.com/cefoler/configuration"
projectGit = "github.com/cefoler/configuration.git"
javaMain = "src/main/java"
javaTest = "src/test/java"
javaDocument = javadoc
javaVersion = JavaVersion.VERSION_1_8
licenseName = "Apache License, Version 2.0"
licenseUrl = "https://www.apache.org/licenses/LICENSE-2.0.txt"
incorporationName = "Cefoler Studios"
incorporationUrl = "https://cefoler.com"
fileName = "$projectArtifact-$projectVersion"
fileComplete = "${fileName}.jar"
outputPath = "$rootDir/build/$projectArtifact"
configPath = "$rootDir/config"
}
task sourcesJar(type: Jar, dependsOn: javadoc) {
archiveClassifier = "sources"
from javaMain
}
task javadocJar(type: Jar, dependsOn: classes) {
archiveClassifier = "javadoc"
from javaDocument
}