-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
52 lines (41 loc) · 1.04 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
plugins {
id 'de.undercouch.download'
}
apply plugin: 'eclipse'
allprojects {
apply plugin: 'maven'
group = 'com.logicalhacking.dasca'
version = '0.1-dev-2019-02-21'
}
configure(allprojects - project('com.logicalhacking.dasca.crosslanguage.test.confidential')) {
apply plugin: 'maven-publish'
apply plugin: 'java'
publishing.publications {
mavenJava(MavenPublication) {
from components.java
}
}
publishing {
repositories {
maven {
url = "sftp://artifacts.logicalhacking.com:22/home/brucker/www/artifacts.logicalhacking.com/htdocs/maven3/"
credentials {
username comLogicalhackingArtifactsUser
password comLogicalhackingArtifactsPassword
}
}
}
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
maven { url "https://artifacts.logicalhacking.com/maven3" }
maven { url "https://repo.maven.apache.org/maven2" }
}
}