Skip to content

Commit e951ecf

Browse files
committed
gradle adding source directories
1 parent f429432 commit e951ecf

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

‎build.gradle‎

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
apply plugin: "java"
22

33
sourceCompatibility = 1.7
4+
targetCompatibility=1.7
45
version=7.0
6+
manifest {
7+
attributes 'Implementation-Title': 'hamcrest-all',
8+
'Implementation-Vendor': 'hamcrest.org',
9+
'Implementation-Version': version
10+
}
11+
12+
sourceSets {
13+
core {
14+
java {
15+
srcDirs 'hamcrest-api/src/main/java', 'hamcrest-core/src/main/java', 'hamcrest-library/src/main/java'
16+
}
517

6-
jar {
7-
manifest {
8-
attributes 'Implementation-Title': 'hamcrest-all',
9-
'Implementation-Vendor': 'hamcrest.org',
10-
'Implementation-Version': version
1118
}
1219
}
1320

21+
22+
1423
repositories {
1524
mavenCentral()
1625
}

0 commit comments

Comments
 (0)