File: build.gradle

package info (click to toggle)
sqljet 1.1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,364 kB
  • sloc: java: 36,711; ansic: 695; xml: 232; makefile: 31; sh: 19; sql: 14; php: 4
file content (23 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
project.ext.browserMainClass = 'org.tmatesoft.sqljet.browser.DBBrowser'

artifacts {
    maven jar, sourcesJar
    sources sourcesJar
    archives jar
}

jar {
    manifest {
        attributes 'Main-Class' : browserMainClass
    }
} << {
    String jarClasspath = ''
    configurations.compile.files.each {
        jarClasspath += fullJarName(it) + ' '
    }
    ant.jar(destfile: jar.archivePath, update: true) {
        delegate.manifest {
            attribute(name: 'Class-Path', value: jarClasspath.trim())
        }
    }
}