-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
47 lines (40 loc) · 1.23 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.1'
}
}
apply plugin: 'gradlefx'
version = '1.0-SNAPSHOT'
type = 'swc'
repositories {
maven {
name 'hamcrest-as3-repo'
url "https://repository.sonatype.org/content/groups/forge"
}
}
//dependency versions
ext.hamcrest_as3_version = '1.1.0'
dependencies {
test group: 'hamcrest-as3', name: 'hamcrest-as3', version: hamcrest_as3_version, ext: 'swc'
test files(project.file('libs/flexUnitTasks-4.1.0-8.jar').absolutePath,
project.file('libs/flexunit-4.1.0-8-flex_4.1.0.16076.swc').absolutePath,
project.file('libs/flexunit-cilistener-4.1.0-8-4.1.0.16076.swc').absolutePath,
project.file('libs/flexunit-uilistener-4.1.0-8-4.1.0.16076.swc').absolutePath)
}
flexUnit {
template = 'src/test/resources/CustomFlexUnitRunner.mxml'
additionalCompilerOptions = [
'-incremental=true',
]
}
task wrapper(type: Wrapper) {
group = 'Buildmaster'
description = 'Generates gradlew and gradlew.bat bootstrap scripts'
gradleVersion = '2.1'
// place jar file and properties into a subdirectory to avoid root dir clutter
jarFile = 'buildSrc/wrapper/gradle.jar'
}