forked from crossbario/autobahn-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
31 lines (29 loc) · 789 Bytes
/
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
// Set global platform properties.
project.ext {
PLATFORM = project.properties.get('buildPlatform', 'android')
PLATFORM_ANDROID = 'android'
PLATFORM_NETTY = 'netty'
PLUGIN_ANDROID_APP = 'com.android.application'
PLUGIN_ANDROID_LIB = 'com.android.library'
PLUGIN_JAVA_APP = 'application'
PLUGIN_JAVA_LIB = 'java-library-distribution'
}
buildscript {
repositories {
jcenter()
}
// Netty build does not need android dependencies.
if (project.properties.get('buildPlatform', 'android') == 'android') {
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha9'
}
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com'
}
}
}