-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
99 lines (78 loc) · 1.72 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
//
//
allprojects {
apply plugin: 'maven'
apply plugin: 'java'
apply plugin: 'maven-publish'
group = 'com.peterlavalle' // group = 'org.flexdock'
version = '1.3'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
jcenter()
maven { url "http://peterlavalle.com/m2-repo/" }
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
publishing {
repositories {
maven { url project.rootProject.file('.m2repo/') }
}
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
}
subprojects {
task packageSources(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts.archives packageSources
configurations.all {
}
dependencies {
compile group: 'net.sf.squirrel-sql.thirdparty-non-maven', name: 'skinlf', version: '6.7'
}
}
project(':flexdock-demo') {
jar {
manifest {
attributes 'Main-Class': 'org.flexdock.demos.AllDemos'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
dependencies {
compile project(':flexdock-core')
compile group: 'com.jgoodies', name: 'jgoodies-looks', version: '2.7.0'
compile project(':flexdock-view')
compile project(':flexdock-perspective')
compile project(':flexdock-drag')
compile group: 'javax.media', name: 'jmf', version: '2.1.1e'
}
}
project(':flexdock-drag') {
dependencies {
compile project(':flexdock-core')
}
}
project(':flexdock-perspective') {
dependencies {
compile project(':flexdock-core')
}
}
project(':flexdock-view') {
dependencies {
compile project(':flexdock-core')
compile project(':flexdock-perspective')
}
}