Build support-v4 from source with gradle
v7-appcompat can be enabled/used in gradle by changing :support-v4 with :support-appcompat-v7 in build.gradle and bumping minSdk from 5 to 7
This commit is contained in:
parent
9d6cabe737
commit
4d44f3fce8
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -22,3 +22,7 @@
|
|||||||
path = extern/jmdns
|
path = extern/jmdns
|
||||||
url = https://gitlab.com/fdroid/jmdns.git
|
url = https://gitlab.com/fdroid/jmdns.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
|
[submodule "extern/Support"]
|
||||||
|
path = extern/Support
|
||||||
|
url = https://android.googlesource.com/platform/frameworks/support
|
||||||
|
ignore = dirty
|
||||||
|
@ -10,9 +10,14 @@ buildscript {
|
|||||||
def toolVersion = "19.1"
|
def toolVersion = "19.1"
|
||||||
apply plugin: 'android'
|
apply plugin: 'android'
|
||||||
|
|
||||||
|
sdkLoc = System.getenv("ANDROID_HOME")
|
||||||
|
FileCollection getAndroidPrebuilt(String apiLevel) {
|
||||||
|
files("$sdkLoc/platforms/android-$apiLevel/android.jar")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile files('libs/android-support-v4.jar')
|
|
||||||
compile files('libs/core-3.0.1.jar')
|
compile files('libs/core-3.0.1.jar')
|
||||||
|
compile project(':support-v4')
|
||||||
compile project(':extern:AndroidPinning')
|
compile project(':extern:AndroidPinning')
|
||||||
compile project(':extern:UniversalImageLoader:library')
|
compile project(':extern:UniversalImageLoader:library')
|
||||||
compile project(':extern:MemorizingTrustManager')
|
compile project(':extern:MemorizingTrustManager')
|
||||||
@ -117,3 +122,4 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
extern/Support
vendored
Submodule
1
extern/Support
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 1c086e1e7849c0b3fe31d11ea83d42bd78abcd6d
|
@ -1,5 +1,13 @@
|
|||||||
include ':extern:AndroidPinning',
|
include \
|
||||||
':extern:UniversalImageLoader:library',
|
':extern:AndroidPinning',
|
||||||
':extern:MemorizingTrustManager',
|
':extern:UniversalImageLoader:library',
|
||||||
|
':extern:MemorizingTrustManager',
|
||||||
':extern:libsuperuser:libsuperuser',
|
':extern:libsuperuser:libsuperuser',
|
||||||
':extern:nanohttpd:core'
|
':extern:nanohttpd:core'
|
||||||
|
|
||||||
|
include ':support-v4'
|
||||||
|
project(':support-v4').projectDir = new File('extern/Support/v4')
|
||||||
|
|
||||||
|
include ':support-appcompat-v7'
|
||||||
|
project(':support-appcompat-v7').projectDir = new File('extern/Support/v7/appcompat')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user