mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-23 15:07:39 +01:00
Move all dependencies to standalone file.
This allows better and easier versioning management across modules Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
500a058ddc
commit
95b20b486d
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,6 +3,8 @@
|
|||||||
/local.properties
|
/local.properties
|
||||||
/.idea/workspace.xml
|
/.idea/workspace.xml
|
||||||
/.idea/libraries
|
/.idea/libraries
|
||||||
|
/.idea/encodings.xml
|
||||||
|
/.idea/misc.xml
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/build
|
/build
|
||||||
/captures
|
/captures
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
apply from: 'dependencies.gradle'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
apply from: 'dependencies.gradle'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.2.3'
|
classpath gradlePlugins.androidTools
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
18
dependencies.gradle
Normal file
18
dependencies.gradle
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
ext.versions = [
|
||||||
|
minSdk : 14,
|
||||||
|
targetSdk : 19,
|
||||||
|
compileSdk : 19,
|
||||||
|
|
||||||
|
buildTools : "23.0.3",
|
||||||
|
androidTools : "1.2.3",
|
||||||
|
|
||||||
|
androidSupport : "18.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
ext.gradlePlugins = [
|
||||||
|
androidTools : "com.android.tools.build:gradle:$versions.androidTools"
|
||||||
|
]
|
||||||
|
|
||||||
|
ext.androidSupport = [
|
||||||
|
support : "com.android.support:support-v4:$versions.androidSupport"
|
||||||
|
]
|
@ -1,12 +1,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion versions.compileSdk
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion versions.buildTools
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 7
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion 19
|
targetSdkVersion versions.targetSdk
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@ -18,5 +18,5 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.android.support:support-v4:18.0.0'
|
compile androidSupport.support
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion versions.compileSdk
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion versions.buildTools
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 7
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion 19
|
targetSdkVersion versions.targetSdk
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion versions.compileSdk
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion versions.buildTools
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 7
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion 19
|
targetSdkVersion versions.targetSdk
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion versions.compileSdk
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion versions.buildTools
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.moire.ultrasonic"
|
applicationId "org.moire.ultrasonic"
|
||||||
minSdkVersion 14
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion 19
|
targetSdkVersion versions.targetSdk
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user