Ignore:
Timestamp:
Jun 26, 2014 12:00:38 AM (6 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
367ab28
Parents:
aa3ac754
Message:

Correct Jar/War? split for addressbook, snark and i2ptunnel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/build.gradle

    raa3ac754 r8de0c0b  
    55        java {
    66            srcDir 'java/src'
     7            include 'net/i2p/i2ptunnel/web/EditBean.java'
     8            include 'net/i2p/i2ptunnel/web/IndexBean.java'
     9        }
     10    }
     11    jar {
     12        java {
     13            srcDir 'java/src'
     14            exclude 'net/i2p/i2ptunnel/web/EditBean.java'
     15            exclude 'net/i2p/i2ptunnel/web/IndexBean.java'
    716        }
    817    }
     
    1524
    1625dependencies {
    17     compile project(':core')
    18     providedCompile project(':apps:ministreaming')
     26    jarCompile project(':core')
     27    jarCompile project(':apps:ministreaming')
     28    providedCompile sourceSets.jar.output
    1929    providedCompile project(':apps:jetty')
     30}
     31
     32task i2ptunnelJar(type: Jar) {
     33    from sourceSets.jar.output
     34    manifest {
     35        attributes 'Main-Class': 'net.i2p.i2ptunnel.I2PTunnel'
     36        attributes 'Class-Path': 'i2p.jar mstreaming.jar'
     37    }
     38}
     39
     40artifacts {
     41    archives i2ptunnelJar
    2042}
    2143
Note: See TracChangeset for help on using the changeset viewer.