-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
104 lines (90 loc) · 2.73 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
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
95
96
97
98
99
100
101
102
103
104
buildscript {
repositories {
jcenter()
}
}
plugins {
id "java-library"
id "maven-publish"
id "com.jfrog.bintray" version "1.8.1"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
def groupName = "panama"
def versionName = "4.0.3"
group = groupName
version = versionName
repositories {
jcenter()
}
tasks.withType(Jar) {
destinationDir = file("$rootDir")
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = "sources"
}
publishing {
publications {
Panama(MavenPublication) {
from components.java
artifact sourceJar
// artifacts {
// sourcesJar
// }
groupId "panama"
artifactId "panama"
version "${versionName}"
}
}
}
bintray {
user = "${bintray_user}"
key = "${bintray_api_key}"
dryRun = false //[Default: false] Whether to run this as dry-run, without deploying
publish = true //[Default: false] Whether version should be auto published after an upload
override = true //[Default: false] Whether to override version artifacts already published
publications = ["Panama"]
pkg {
repo = "maven"
name = "panama"
licenses = ["Apache-2.0"]
vcsUrl = "https://github.com/ridcully99/panama.git"
version {
name = "${versionName}"
desc = "panama ${versionName} final"
released = new Date()
vcsTag = "${versionName}"
}
}
}
task myJavadocs(type: Javadoc) {
group = "documentation"
source = sourceSets.main.allJava
description = "Weniger streng"
failOnError = false
}
dependencies {
api "org.avaje.ebeanorm:avaje-ebeanorm:7.12.2"
api "org.avaje.ebeanorm:avaje-ebeanorm-agent:4.10.1"
api "org.avaje:avaje-agentloader:2.1.2"
api "commons-beanutils:commons-beanutils:1.9.2"
api "commons-collections:commons-collections:3.2.2"
api "commons-digester:commons-digester:1.8.1"
api "commons-fileupload:commons-fileupload:1.3.1"
api "commons-io:commons-io:2.4"
api "commons-lang:commons-lang:2.6"
api "commons-logging:commons-logging:1.2"
api "commons-validator:commons-validator:1.5.0"
api "org.javassist:javassist:3.20.0-GA"
api "javax.persistence:persistence-api:1.0.2"
implementation "javax.servlet:servlet-api:2.5"
api "javax.transaction:jta:1.1"
api "org.scannotation:scannotation:1.0.3"
api "org.slf4j:slf4j-api:1.7.21"
api "org.apache.velocity:velocity:1.7"
api ("org.apache.velocity:velocity-tools:2.0") {
exclude group: "org.apache.struts"
}
testCompile "junit:junit:4.12"
}