alibaba / GaiaX

动态模板引擎是一套轻量化、跨平台、高性能的纯原生移动端卡片渲染动态化解决方案
https://youku-gaiax.github.io/
Apache License 2.0
1.22k stars 145 forks source link

依赖的compileSdkVersion版本问题 #18

Closed zchong816 closed 2 years ago

zchong816 commented 2 years ago

描述这个问题

最新版本 com.github.alibaba:GaiaX:0.1.4 要求依赖的compileSdkVersion有些高要31,我们的环境最高是28能否降级发个版本呢,ps:应该不少的app都停留在相对较低的版本:)

biezhihua commented 2 years ago

@zchong816 这个我降级一下,然后发个新版本。

biezhihua commented 2 years ago

@zchong816 辛苦贴一下在compileSDKVersion 28的条件下,你们androidx的各个子包的依赖版本。

biezhihua commented 2 years ago

implementation "androidx.core:core-ktx:1.6.0" implementation 'androidx.appcompat:appcompat:1.2.0' implementation "com.google.android.material:material:1.4.0” implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

implementation 'com.alibaba:fastjson:1.2.76'

implementation project(path: ':GaiaXAndroid')
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'

// implementation 'com.github.alibaba:GaiaX:0.1.4'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'