mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-27 00:47:48 +01:00
Merge pull request #10 from Tapchicoma/dependencies
Reorgonize dependencies
This commit is contained in:
commit
9211ad467b
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 : 22,
|
||||||
|
compileSdk : 22,
|
||||||
|
|
||||||
|
buildTools : "23.0.3",
|
||||||
|
androidTools : "2.2.0",
|
||||||
|
|
||||||
|
androidSupport : "18.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
ext.gradlePlugins = [
|
||||||
|
androidTools : "com.android.tools.build:gradle:$versions.androidTools"
|
||||||
|
]
|
||||||
|
|
||||||
|
ext.androidSupport = [
|
||||||
|
support : "com.android.support:support-v4:$versions.androidSupport"
|
||||||
|
]
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
||||||
|
@ -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