source: installer/build.gradle @ 50d93b19

Last change on this file since 50d93b19 was e662f09, checked in by str4d <str4d@…>, 16 months ago

Gradle: Create jbigi configuration

  • Property mode set to 100644
File size: 735 bytes
Line 
1configurations {
2    jbigi
3}
4
5sourceSets {
6    main {
7        java {
8            srcDir 'java/src'
9        }
10    }
11    jbigi {
12        resources {
13            srcDir 'lib/jbigi'
14            include '*.so'
15            include '*.dll'
16            include '*.jnilib'
17        }
18    }
19}
20
21dependencies {
22    compile project(':core')
23    runtime files('lib/wrapper/all/wrapper.jar')
24}
25
26jar {
27    baseName 'utility'
28    from project(':core').sourceSets.main.output
29    include 'net/i2p/installer/**'
30    include 'net/i2p/util/FileUtil.class'
31    manifest {
32        attributes 'Main-Class': 'net.i2p.installer.Main'
33    }
34}
35
36task jbigiJar(type: Jar) {
37    baseName = 'jbigi'
38    from sourceSets.jbigi.output
39}
40
41artifacts {
42    jbigi jbigiJar
43}
Note: See TracBrowser for help on using the repository browser.