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/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
Note: See TracChangeset for help on using the changeset viewer.