Subversion Repositories SmartDukaan

Rev

Rev 36878 | Rev 37491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36878 Rev 37337
Line 48... Line 48...
48
 
48
 
49
dependencies {
49
dependencies {
50
    compile project (':profitmandi-common')
50
    compile project (':profitmandi-common')
51
    compile project (':profitmandi-dao')
51
    compile project (':profitmandi-dao')
52
 
52
 
-
 
53
    // PDF table extraction for the Pine Labs affordability circular. Lives here because
-
 
54
    // the parse now runs in this application rather than in profitmandi-cron; keep it
-
 
55
    // out of profitmandi-common, or PDFBox reaches the web WAR too (common deliberately
-
 
56
    // keeps pdfbox at test scope).
-
 
57
    //   - bouncycastle is only for encrypted PDFs (ours are not) and its
-
 
58
    //     bcprov-jdk15on:1.69 clashes with the bcprov already on this classpath
-
 
59
    //   - slf4j-simple would bind as a second SLF4J provider against log4j2
-
 
60
    //   - jai-imageio is image decoding; we read text and rulings only
-
 
61
    implementation('technology.tabula:tabula:1.0.5') {
-
 
62
        exclude group: 'org.bouncycastle'
-
 
63
        exclude group: 'org.slf4j', module: 'slf4j-simple'
-
 
64
        exclude group: 'com.github.jai-imageio'
-
 
65
    }
-
 
66
 
-
 
67
 
53
    compile(group: 'org.apache.velocity', name: 'velocity-tools', version: '1.3') {
68
    compile(group: 'org.apache.velocity', name: 'velocity-tools', version: '1.3') {
54
        exclude(module: 'commons-logging')
69
        exclude(module: 'commons-logging')
55
        exclude(module: 'commons-digester')
70
        exclude(module: 'commons-digester')
56
        //exclude(module: 'commons-collections')
71
        //exclude(module: 'commons-collections')
57
        exclude(module: 'dom4j')
72
        exclude(module: 'dom4j')
Line 86... Line 101...
86
    testLogging.showStandardStreams = true
101
    testLogging.showStandardStreams = true
87
    // for enable or disable test cases
102
    // for enable or disable test cases
88
 
103
 
89
    exclude 'com/spice/profitmandi/service/generic/GenericServiceTest.class'
104
    exclude 'com/spice/profitmandi/service/generic/GenericServiceTest.class'
90
}
105
}
-
 
106
 
-
 
107
// Writes this module's runtime classpath to build/circular-classpath.txt so the
-
 
108
// offer-circular ingest can be driven locally outside Spring - see
-
 
109
// scripts/offer_circular/README.md ("Running and measuring an ingest locally").
-
 
110
// Lives here now that the parser does; it used to sit in profitmandi-cron.
-
 
111
task dumpCircularClasspath {
-
 
112
    doLast {
-
 
113
        new File("$buildDir/circular-classpath.txt").text =
-
 
114
                sourceSets.main.runtimeClasspath.asPath
-
 
115
    }
-
 
116
}