mirror of https://github.com/YTVanced/VancedMicroG
Update to gradle style project
This commit is contained in:
parent
0ded14dee1
commit
dd443b262b
|
@ -1,12 +1,6 @@
|
||||||
[submodule "UnifiedNlpApi"]
|
|
||||||
path = UnifiedNlpApi
|
|
||||||
url = https://github.com/microg/android_external_UnifiedNlpApi.git
|
|
||||||
[submodule "UnifiedNlpLib"]
|
[submodule "UnifiedNlpLib"]
|
||||||
path = UnifiedNlpLib
|
path = UnifiedNlpLib
|
||||||
url = https://github.com/microg/android_packages_apps_UnifiedNlp.git
|
url = https://github.com/microg/android_packages_apps_UnifiedNlp.git
|
||||||
[submodule "GmsApi"]
|
[submodule "play-services-api"]
|
||||||
path = GmsApi
|
path = play-services-api
|
||||||
url = https://github.com/microg/android_external_GmsApi.git
|
url = https://github.com/microg/android_external_GmsApi.git
|
||||||
[submodule "SafeParcel"]
|
|
||||||
path = SafeParcel
|
|
||||||
url = https://github.com/microg/android_external_SafeParcel.git
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ unified_dir := ../UnifiedNlp
|
||||||
appcompat_dir := ../../../prebuilts/sdk/current/support/v7/appcompat
|
appcompat_dir := ../../../prebuilts/sdk/current/support/v7/appcompat
|
||||||
res_dir := res $(unified_dir)/res $(appcompat_dir)/res
|
res_dir := res $(unified_dir)/res $(appcompat_dir)/res
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
LOCAL_SRC_FILES := $(call all-java-files-under, play-services-core/src/main/java) \
|
||||||
$(call all-Iaidl-files-under, src) \
|
$(call all-java-files-under, play-services-core/src/main/protos-java) \
|
||||||
$(call all-java-files-under, $(unified_dir)/src) \
|
$(call all-java-files-under, $(unified_dir)/src) \
|
||||||
|
|
||||||
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
|
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
|
||||||
|
|
1
GmsApi
1
GmsApi
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1510aa1b0adeeed9dbe591b25ad75b015f968d82
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 462316b18e2620bd5c0cb843abd67671d941300d
|
|
|
@ -0,0 +1 @@
|
||||||
|
play-services-api/SafeParcel/
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 06d1132344b4600ae00bda63d4da0acff7de42f0
|
|
|
@ -0,0 +1 @@
|
||||||
|
UnifiedNlpLib/UnifiedNlpApi
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit dbae4add94505fb0765ca9a18896848df6ae6ae4
|
|
@ -28,7 +28,7 @@ apply plugin: 'com.android.application'
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
flatDir {
|
flatDir {
|
||||||
dirs 'libs'
|
dirs '../libs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ dependencies {
|
||||||
compile 'de.hdodenhof:circleimageview:1.2.1'
|
compile 'de.hdodenhof:circleimageview:1.2.1'
|
||||||
compile 'com.squareup.wire:wire-runtime:1.6.1'
|
compile 'com.squareup.wire:wire-runtime:1.6.1'
|
||||||
|
|
||||||
compile project(':GmsApi')
|
compile project(':play-services-api')
|
||||||
compile project(':UnifiedNlpLib')
|
compile project(':UnifiedNlpLib')
|
||||||
|
|
||||||
// vtm from ./libs
|
// vtm from ./libs
|
||||||
|
@ -59,15 +59,10 @@ dependencies {
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 21
|
||||||
buildToolsVersion "21.1.2"
|
buildToolsVersion "21.1.2"
|
||||||
lintOptions.abortOnError false
|
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
manifest.srcFile 'AndroidManifest.xml'
|
java.srcDirs += 'src/main/protos-java'
|
||||||
java.srcDirs = ['src', 'protos-src']
|
|
||||||
aidl.srcDirs = ['src']
|
|
||||||
res.srcDirs = ['res']
|
|
||||||
assets.srcDirs = ['assets']
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue