-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (44 loc) · 1.24 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apply plugin: 'java-library'
//apply plugin: 'maven'
group = 'com.kameecoding'
version = '0.01-SNAPSHOT'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
wrapper.gradleVersion = "5.6.2"
dependencies {
compile "commons-io:commons-io:2.6"
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile "org.slf4j:slf4j-api:1.7.25"
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile "org.apache.commons:commons-lang3:3.7"
// Use JUnit test framework
testImplementation "junit:junit:4.12"
}
task runFinalJar(type: JavaExec) {
//classpath = files('build/libs/handbrake-wrapper.jar')
//classpath += sourceSets.main.runtimeClasspath
//main = 'org.azsoftware.handbraker.Handbrake'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
/*
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://94.130.55.149:8081/repository/snapshot/") {
authentication(userName: "admin", password: nexusPassword)
}
pom.version = "${version}"
pom.artifactId = "${project.name}"
pom.groupId = "${project.group}"
}
}
}*/