Changeset 8de0c0b


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

Location:
apps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/build.gradle

    raa3ac754 r8de0c0b  
    1414}
    1515
     16jar {
     17    exclude { it.name == 'Servlet.class' }
     18}
     19
    1620war {
    1721    webXml = file('web.xml')
  • apps/i2psnark/build.gradle

    raa3ac754 r8de0c0b  
    55        java {
    66            srcDir 'java/src'
     7            include 'org/klomp/snark/web/**'
     8        }
     9    }
     10    jar {
     11        java {
     12            srcDir 'java/src'
     13            exclude 'org/klomp/snark/web'
    714        }
    815    }
     
    1017
    1118dependencies {
    12     compile project(':core')
     19    jarCompile project(':core')
     20    jarCompile project(':apps:ministreaming')
     21    providedCompile sourceSets.jar.output
    1322    providedCompile project(':apps:ministreaming')
    1423    providedCompile project(':apps:jetty')
     24}
     25
     26task i2psnarkJar(type: Jar) {
     27    from sourceSets.jar.output
     28    manifest {
     29        attributes 'Main-Class': 'org.klomp.snark.Snark'
     30        attributes 'Class-Path': 'i2p.jar mstreaming.jar streaming.jar'
     31    }
     32}
     33
     34artifacts {
     35    archives i2psnarkJar
    1536}
    1637
  • 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.