在项目中使用到以下库:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'de.hdodenhof:circleimageview:1.2.0@aar'
compile 'com.navercorp.pulltorefresh:library:3.2.0@aar'
compile 'com.github.chrisbanes.photoview:library:1.2.3'
compile 'com.yixia.vcamera:vcamera:2.0.0'
compile 'com.rockerhieu.emojicon:emojicon:1.1@aar'
compile 'org.apache.commons:commons-lang3:3.3'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
compile 'me.imid.swipebacklayout.lib:SwipeBackLayout:1.0.1@aar'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.4'
compile 'com.getbase:floatingactionbutton:1.4.1'
compile 'com.android.support:support-v4:21.0.3'
}
其中有jar,aar等,有的来自工程libs,有的来自nexus-repository.
来自lib的包通过:compile filetree(),或 compile file() 形式引用;
来自远程库则使用:compile 'groupId:artifactId:version' 或 'groudId:artifactId:version@aar' 形式引用;
那么,当获得第三方包或者生成库包以后,需要添加到远程库中(nexus-repository).