source: apps/ministreaming/build.gradle @ 1cc330b

Last change on this file since 1cc330b was 1cc330b, checked in by str4d <str4d@…>, 16 months ago

Gradle: Generate attributes for JAR manifests

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