-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
52 lines (45 loc) · 1.61 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
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
// during build, we depend on the jfxmobile-plugin
classpath 'org.javafxports:jfxmobile-plugin:1.0.7'
}
}
apply plugin: 'scala' // compile scala sources as well
apply plugin: 'org.javafxports.jfxmobile' // let jfxmobile-plugin do its dance
mainClassName = 'net.ladstatt.tictactoe.TicTacToeApp'
dependencies {
compile 'org.scala-lang:scala-library:2.11.7'
testCompile 'junit:junit:4.12'
}
repositories {
mavenLocal()
jcenter()
}
jfxmobile {
ios {
forceLinkClasses = ['net.ladstatt.**.*']
}
android {
signingConfig {
// your keystore file which can be created by a program called 'keytool'
// see https://developer.android.com/tools/publishing/app-signing.html
storeFile file("/Users/lad/.ssh/ladstatt.keystore")
// this little trick enables us to commit everything except our passwords
// to github - like this your private things stay private.
File propsFile = file("/Users/lad/.ssh/ladstatt.keystore.properties");
if (propsFile.exists()) {
Properties props = new Properties();
props.load(new FileInputStream(propsFile))
storePassword props.getProperty('storePassword')
keyPassword props.getProperty('keyPassword')
keyAlias props.getProperty('keyAlias')
}
}
applicationPackage = 'net.ladstatt.tictactoe'
manifest = 'src/android/AndroidManifest.xml'
}
}