首次提交

This commit is contained in:
2025-09-28 17:54:32 +08:00
commit 1d5c848f75
109 changed files with 15027 additions and 0 deletions

64
nebula-sdk/build.gradle Normal file
View File

@@ -0,0 +1,64 @@
plugins {
id 'com.android.library'
id 'org.greenrobot.greendao' // apply plugin
}
android {
compileSdkVersion 34
defaultConfig {
minSdkVersion 24
targetSdkVersion 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
namespace 'com.android.nebulasdk'
}
greendao {
//指定数据库schema版本号迁移等操作会用到
schemaVersion 10
//DaoSession、DaoMaster以及所有实体类的dao生成的目录,默认为你的entity所在的包名
//daoPackage 包名
daoPackage 'com.android.database'
//这就是我们上面说到的自定义生成数据库文件的目录了可以将生成的文件放到我们的java目录中而不是build中这样就不用额外的设置资源目录了
//工程路径
// targetGenDir 'src/main/java'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation 'com.github.bumptech.glide:glide:4.11.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
// http
api 'com.squareup.okhttp3:okhttp:3.10.0'
api 'com.squareup.retrofit2:converter-gson:2.3.0'
api 'com.squareup.retrofit2:retrofit:2.3.0'
api 'com.squareup.retrofit2:converter-scalars:2.3.0'
//数据库
api 'org.greenrobot:greendao:3.3.0'
api 'com.blankj:utilcodex:1.31.1'
api 'org.greenrobot:eventbus:3.2.0'
}