-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
69 lines (57 loc) · 1.32 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.5.0'
}
}
apply plugin: 'gradlefx'
apply plugin: 'scaffold'
apply plugin: 'ideafx'
version = '1.0-SNAPSHOT'
type = 'mobile'
frameworkLinkage = 'none'
repositories {
ivy {
name 'Flex SDK'
artifactPattern 'http://download.macromedia.com/pub/flex/sdk/[module]_[revision].[ext]'
}
ivy {
name 'Adobe Air SDK'
artifactPattern 'http://airdownload.adobe.com/air/win/download/[revision]/[module].[ext]'
}
}
dependencies {
flexSDK group: 'org.apache', name: 'flex_sdk', version: '4.6', ext: 'zip'
//airSDK group: 'com.adobe', name: 'AdobeAIRSDK', version: 'latest', ext: 'zip'
}
additionalCompilerOptions = [
'-swf-version=26'
]
air {
storepass = 'gradlefx'
tsa = 'none'
includeFileTrees = [
fileTree(dir: 'src/main/youcanuseit/', include: ['assets/*'])
]
fileOptions = [
'-C',
'src/main/youcanuseit/',
'sound'
]
}
airMobile {
target = 'apk-debug'
}
sdkAutoInstall {
showPrompts = false
}
task wrapper(type: Wrapper) {
group = 'Buildmaster'
description = 'Generates gradlew and gradlew.bat bootstrap scripts'
gradleVersion = '4.0.2'
// place jar file and properties into a subdirectory to avoid root dir clutter
jarFile = 'buildSrc/wrapper/gradle.jar'
}