File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # android-springmvc
2+ android use spring mvc, make your code better and clean.
3+
4+
5+ allprojects {
6+ repositories {
7+ ...
8+ maven { url 'https://jitpack.io' }
9+ }
10+ }
11+
12+
13+ dependencies {
14+ implementation 'com.github.dinghu:android-springmvc:1.0.0'
15+ }
16+
17+
18+
19+ 继承AndroidSpringMvcApplication
20+
21+ 使用 AndroidSpringMvc.inject(this)注入依赖
22+
23+ 混淆配置
24+
25+
26+ -keep class com.bitmain.hale.springmvc.controller.** { @com .bitmain.hale.springmvc.di.Autowired <fields >;}
27+ -keep class com.bitmain.hale.springmvc.dao.** { @com .bitmain.hale.springmvc.di.Autowired <fields >; }
28+ -keep class com.bitmain.hale.springmvc.service.** { @com .bitmain.hale.springmvc.di.Autowired <fields >; }
29+ -keep interface com.bitmain.hale.springmvc.** { * ; }
You can’t perform that action at this time.
0 commit comments