Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions project/Libraries/DroidPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ apply plugin: 'com.android.library'
dependencies {
compileOnly fileTree(dir: 'lib', include: '*.jar')
implementation fileTree(dir: 'libs', include: '*.jar')

implementation "com.android.support:support-v4:23.1.1"
implementation "com.android.support:gridlayout-v7:23.1.1"
implementation "com.android.support:cardview-v7:23.1.1"
implementation 'com.android.support:appcompat-v7:23.1.1'
implementation 'com.android.support:design:23.1.1'


//10.0解决黑名单问题
//https://zhuanlan.zhihu.com/p/59455212
//https://github.com/tiann/FreeReflection
api 'me.weishu:free_reflection:3.0.1'

//https://github.com/Guolei1130/android_p_no_sdkapi_support

//http://weishu.me/2018/06/07/free-reflection-above-android-p/

}

android {
Expand All @@ -13,18 +30,24 @@ android {
abortOnError false
}

defaultConfig{
defaultConfig {

// packagingOptions {
// doNotStrip "/armeabi/.so" doNotStrip "/armeabi-v7a/.so" doNotStrip "/x86/.so"
// }

// 建议改为自己的 packageName + .droidplugin_stub ,防止跟其它本插件使用者冲突
def authorityName = "com.morgoo.droidplugin_stub"
minSdkVersion 9
minSdkVersion 21
versionCode 1
versionName '1.0'

buildConfigField "String", "AUTHORITY_NAME", "\"${authorityName}\""
manifestPlaceholders = [
authorityName:"${authorityName}",
authorityName: "${authorityName}",
]
}



}
2 changes: 1 addition & 1 deletion project/Libraries/DroidPlugin/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-21
target=android-19
Loading