Twidere-App-Android-Twitter.../build.gradle

58 lines
1.5 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
ext {
projectGroupId = 'org.mariotaku.twidere'
projectVersionCode = 516
projectVersionName = '4.1.7'
globalCompileSdkVersion = 30
globalBuildToolsVersion = "30.0.3"
globalMinSdkVersion = 16
globalTargetSdkVersion = 30
}
repositories {
mavenLocal()
jcenter()// exoplayer and glide-transformations still using jcenter
mavenCentral()
maven { url "https://jitpack.io" }
google()
}
}
subprojects {
buildscript {
ext {
kotlinVersion = '1.4.31'
sharedVersions = [
Kotlin : "${kotlinVersion}",
LoganSquare : '1.3.7',
Jackson : '2.12.1',
ParcelablePlease : '1.0.2',
ExportablePreferences: '0.9.7',
MariotakuCommons : '0.9.22',
ObjectCursor : '0.9.21',
RestFu : '0.9.64',
]
}
}
}