Skip to content

Commit 037d692

Browse files
committed
added jar section
1 parent 4e2cff5 commit 037d692

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

‎build.gradle‎

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ sourceCompatibility = 1.7
44
targetCompatibility=1.7
55
version=7.0
66

7-
manifest {
8-
attributes 'Implementation-Title': 'hamcrest-all',
9-
'Implementation-Vendor': 'hamcrest.org',
10-
'Implementation-Version': version
11-
}
127

138
dependencies {
149
testCompile(group: 'junit', name: 'junit', version: '4.+') {
@@ -30,17 +25,14 @@ sourceSets {
3025
}
3126
}
3227

33-
28+
jar {
29+
manifest {
30+
attributes 'Implementation-Title': 'hamcrest-all',
31+
'Implementation-Vendor': 'hamcrest.org',
32+
'Implementation-Version': version
33+
}
34+
}
3435

3536
repositories {
3637
mavenCentral()
3738
}
38-
39-
40-
uploadArchives {
41-
repositories {
42-
flatDir {
43-
dirs "repos"
44-
}
45-
}
46-
}

0 commit comments

Comments
 (0)