|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
android {
|
|
|
compileSdkVersion 29
|
|
|
buildToolsVersion "29.0.2"
|
|
|
defaultConfig {
|
|
|
applicationId "com.example.cmknowledgegraph"
|
|
|
minSdkVersion 21
|
|
|
targetSdkVersion 29
|
|
|
versionCode 1
|
|
|
versionName "1.0"
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
}
|
|
|
buildTypes {
|
|
|
release {
|
|
|
minifyEnabled false
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
}
|
|
|
}
|
|
|
compileOptions {
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
}
|
|
|
}
|
|
|
repositories {
|
|
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
jcenter()
|
|
|
}
|
|
|
dependencies {
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
|
|
api 'com.hankcs:hanlp:portable-1.7.2'
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
|
|
// boombutton按钮
|
|
|
implementation 'com.nightonke:boommenu:2.1.1'
|
|
|
// tab
|
|
|
// implementation 'devlight.io:navigationtabbar:1.2.5'
|
|
|
// implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
|
|
|
|
|
|
implementation 'com.github.florent37:materialviewpager:1.2.3'
|
|
|
|
|
|
//dependencies
|
|
|
implementation 'com.flaviofaria:kenburnsview:1.0.7'
|
|
|
implementation 'com.jpardogo.materialtabstrip:library:1.1.0'
|
|
|
implementation 'com.github.bumptech.glide:glide:4.0.0'
|
|
|
implementation 'com.github.ibrahimsn98:SmoothBottomBar:1.5'
|
|
|
//OKhttp请求包,用于登录注册
|
|
|
// implementation "com.squareup.okhttp3:okhttp:4.2.2"
|
|
|
// implementation 'com.alibaba:fastjson:1.2.61'
|
|
|
implementation 'com.alibaba:fastjson:1.1.71.android'
|
|
|
//弹状搜索框
|
|
|
implementation 'com.github.yalantis:jellytoolbar:v1.0'
|
|
|
//个人中心页面设计
|
|
|
implementation 'com.github.yalantis:Side-Menu.Android:1.0.1'
|
|
|
implementation 'com.mxn.soul:flowingdrawer-core:2.1.0'
|
|
|
implementation 'com.nineoldandroids:library:2.4.0'
|
|
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.5.0'
|
|
|
// implementation 'com.squareup.picasso:picasso:2.71828'
|
|
|
//home轮播推送
|
|
|
implementation 'com.github.DingMouRen:LayoutManagerGroup:1e6f4f96eb'
|
|
|
implementation 'de.hdodenhof:circleimageview:2.2.0'
|
|
|
|
|
|
implementation "com.hanks:htextview-base:0.1.6"
|
|
|
implementation "com.hanks:htextview-scale:0.1.6"
|
|
|
implementation "com.hanks:htextview-rainbow:0.1.6"
|
|
|
|
|
|
//个人中心个性导航栏
|
|
|
implementation 'devlight.io:navigationtabbar:1.2.5'
|
|
|
|
|
|
//Canlendar
|
|
|
implementation 'com.github.prolificinteractive:material-calendarview:1.6.0'
|
|
|
|
|
|
implementation 'jp.wasabeef:glide-transformations:4.1.0'
|
|
|
compileOnly "jp.co.cyberagent.android:gpuimage:2.0.3"
|
|
|
//头像
|
|
|
//头像的涟漪效果
|
|
|
implementation 'com.skyfishjy.ripplebackground:library:1.0.1'
|
|
|
|
|
|
implementation 'com.github.Q42:AndroidScrollingImageView:1.3.3'
|
|
|
|
|
|
implementation 'jp.wasabeef:recyclerview-animators:3.0.0'
|
|
|
implementation 'com.jcodecraeer:xrecyclerview:1.6.0'
|
|
|
|
|
|
implementation 'com.loopeer.library:cardstack:1.0.2'
|
|
|
implementation 'com.ramotion.foldingcell:folding-cell:1.2.3'
|
|
|
|
|
|
// 画廊
|
|
|
implementation 'com.yarolegovich:discrete-scrollview:1.4.9'
|
|
|
//屏幕适配方案
|
|
|
// implementation 'com.android.support:percent:28.3.0'
|
|
|
|
|
|
}
|