Last change
on this file since 1cc330b was
1cc330b,
checked in by str4d <str4d@…>, 21 months ago
|
Gradle: Generate attributes for JAR manifests
|
-
Property mode set to
100644
|
File size:
614 bytes
|
Line | |
---|
1 | plugins { |
---|
2 | id 'java-library' |
---|
3 | } |
---|
4 | |
---|
5 | archivesBaseName = 'mstreaming' |
---|
6 | |
---|
7 | sourceSets { |
---|
8 | main { |
---|
9 | java { |
---|
10 | srcDir 'java/src' |
---|
11 | } |
---|
12 | } |
---|
13 | test { |
---|
14 | java { |
---|
15 | srcDir 'java/test/junit' |
---|
16 | } |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
20 | dependencies { |
---|
21 | api project(':core') |
---|
22 | } |
---|
23 | |
---|
24 | jar { |
---|
25 | manifest { |
---|
26 | attributes 'Specification-Title': 'I2P Streaming API' |
---|
27 | attributes 'Implementation-Title': 'I2P Java Streaming API' |
---|
28 | } |
---|
29 | } |
---|
30 | |
---|
31 | configurations { |
---|
32 | tests |
---|
33 | } |
---|
34 | task testJar(type: Jar) { |
---|
35 | baseName = 'mstreaming-test' |
---|
36 | dependsOn classes |
---|
37 | from sourceSets.test.output |
---|
38 | } |
---|
39 | artifacts { |
---|
40 | tests testJar |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.