-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (34 loc) · 902 Bytes
/
build.gradle
File metadata and controls
42 lines (34 loc) · 902 Bytes
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
import java.text.SimpleDateFormat
plugins {
id 'java'
id 'maven-publish'
id "com.jfrog.bintray" version "1.8.5"
}
group 'net.vexelon'
version '1.3'
Date now = new Date()
ext {
projectName = "Java App Icons"
projectDesc = "Fetch urls or download app icons for any App Store or Play Store app."
buildTimeStamp = new SimpleDateFormat('yyyy-MM-dd HH:mm:ss.SSSZ').format(now)
}
apply from: file('gradle/publish.gradle')
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': project.version,
'Implementation-LastModified': project.buildTimeStamp
)
}
}