| | |
| | | plugins { |
| | | id 'com.android.library' |
| | | id 'com.google.gms.google-services' |
| | | id 'com.google.firebase.crashlytics' |
| | | } |
| | | |
| | | def rootPath = rootProject.getRootDir().getAbsolutePath() |
| | |
| | | def channelJavaFiles = getAllFiles(new ArrayList<File>(), "${channelPath}/java") |
| | | |
| | | android { |
| | | compileSdkVersion 33 |
| | | buildToolsVersion "33.0.0" |
| | | compileSdkVersion 34 |
| | | buildToolsVersion "34.0.0" |
| | | |
| | | defaultConfig { |
| | | minSdkVersion 24 |
| | | targetSdkVersion 33 |
| | | targetSdkVersion 34 |
| | | versionCode 1 |
| | | versionName "1.0" |
| | | |
| | |
| | | } |
| | | } |
| | | compileOptions { |
| | | sourceCompatibility JavaVersion.VERSION_1_8 |
| | | targetCompatibility JavaVersion.VERSION_1_8 |
| | | sourceCompatibility JavaVersion.VERSION_11 |
| | | targetCompatibility JavaVersion.VERSION_11 |
| | | } |
| | | packagingOptions {exclude 'META-INF/rxjava.properties'} |
| | | lintOptions { |
| | |
| | | } |
| | | |
| | | dependencies { |
| | | implementation 'androidx.annotation:annotation:1.0.0' |
| | | testImplementation 'junit:junit:4.13.2' |
| | | //noinspection GradleCompatible |
| | | // implementation 'com.android.support:appcompat-v7:28.0.0' |
| | | |
| | | // implementation 'com.github.pqpo:Log4a:1.4.2@aar' |
| | | |
| | | implementation fileTree(dir: "../channel/${CHANNEL_NAME}/libs/", include: ['*.jar']) |
| | | plugins.each { |
| | |
| | | implementation fileTree(dir: 'libs', include: ['*.jar'], exclude: ['unity-classes.jar']) |
| | | compileOnly files('libs/unity-classes.jar') |
| | | |
| | | implementation('androidx.appcompat:appcompat:1.0.0') { |
| | | force = true |
| | | } |
| | | |
| | | //以下为必需依赖的库 |
| | | implementation(name: 'ald_v1.7.0', ext: 'aar') //x.x.x为具体版本 |
| | | implementation("com.android.billingclient:billing:5.0.0") |
| | | implementation 'com.google.android.gms:play-services-auth:20.1.0' |
| | | implementation 'androidx.percentlayout:percentlayout:1.0.0' |
| | | implementation fileTree(include: ['*.jar'], dir: 'libs/aldsdk_libs150') |
| | | implementation(name: 'common_feature-release', ext: 'aar') |
| | | implementation(name: 'sdk_common_code-release', ext: 'aar') |
| | | implementation(name: 'sdk_common_res_base-release', ext: 'aar') |
| | | implementation(name: 'sdk_common_res-release', ext: 'aar') |
| | | |
| | | //base theme |
| | | implementation 'androidx.appcompat:appcompat:1.2.0' |
| | | //ald ui用 |
| | | implementation 'androidx.cardview:cardview:1.0.0' |
| | | //webview控件 |
| | | implementation('androidx.browser:browser:1.5.0') |
| | | |
| | | //谷歌能力 |
| | | implementation 'com.google.android.gms:play-services-auth:20.1.0' //google服务 |
| | | implementation("com.android.billingclient:billing:7.0.0") // google内购 |
| | | implementation 'androidx.percentlayout:percentlayout:1.0.0' //google提供的支持库 |
| | | implementation 'com.google.android.play:review:2.0.1' //google评价 |
| | | |
| | | //facebook能力 |
| | | implementation 'com.facebook.android:facebook-login:latest.release' |
| | | implementation 'com.facebook.android:facebook-share:latest.release' |
| | | implementation 'com.appsflyer:af-android-sdk:6.9.0' |
| | | implementation 'com.android.installreferrer:installreferrer:2.2' |
| | | implementation platform('com.google.firebase:firebase-bom:30.4.0') { |
| | | exclude group: 'com.android.support', module: 'support-compat' |
| | | } |
| | | implementation 'com.google.android.play:review:2.0.1' |
| | | implementation 'com.google.firebase:firebase-analytics' |
| | | implementation 'com.navercorp.nid:oauth-jdk8:5.1.1' |
| | | implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2' |
| | | implementation 'com.google.android.play:review:2.0.1' |
| | | implementation 'com.google.firebase:firebase-crashlytics:18.2.9' |
| | | |
| | | } |