Mercury-IM/build.gradle

48 lines
1.1 KiB
Groovy
Raw Normal View History

2019-03-27 21:24:47 +01:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2019-11-23 21:16:03 +01:00
2019-03-27 21:24:47 +01:00
repositories {
google()
jcenter()
}
dependencies {
2020-01-06 01:27:11 +01:00
classpath 'com.android.tools.build:gradle:3.5.3'
2019-03-27 21:24:47 +01:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply from: 'version.gradle'
allprojects {
ext {
rootConfigDir = new File(rootDir, 'config')
}
repositories {
google()
jcenter()
2019-07-31 22:59:46 +02:00
mavenLocal()
// Smack nightly unique snapshots repo
//maven {
// url 'https://igniterealtime.org/repo/'
2019-11-23 21:16:03 +01:00
// }
2019-03-27 21:24:47 +01:00
}
2019-07-31 22:59:46 +02:00
configurations {
// Exclude XmlPullParser from Smack dependencies, as its now provided by Android
// https://stackoverflow.com/questions/48488563/gradle-xpp3-error/48746294#48746294
all {
exclude group: 'xpp3', module: 'xpp3_min'
2020-06-24 22:50:26 +02:00
exclude group: 'xpp3', module: 'xpp3'
2019-07-31 22:59:46 +02:00
}
}
2019-03-27 21:24:47 +01:00
}
task clean(type: Delete) {
delete rootProject.buildDir
}