-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
36 lines (26 loc) · 1012 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
plugins {
id 'java'
}
group 'in.momin5'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
implementation(group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13')
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.8'
implementation 'org.apache.httpcomponents:httpcore:4.4.14'
implementation 'org.apache.httpcomponents:httpmime:4.5.13'
//implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.36.0.3'
implementation group: 'net.java.dev.jna', name: 'jna-platform', version: '4.0.0'
implementation 'com.github.sarxos:webcam-capture:0.3.12'
}
tasks.register("uberJar",Jar) {
archiveClassifier = 'uber'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}