forked from crossbario/autobahn-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (34 loc) · 1002 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
32
33
34
35
36
// 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'
IS_ANDROID = PLATFORM == PLATFORM_ANDROID
BUILD_LEGACY = project.properties.get('buildLegacy', false)
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
}
// Android specific dependencies.
if (project.properties.get('buildPlatform', 'android') == 'android') {
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
}
}
}
allprojects {
repositories {
google()
jcenter()
}
}