| | |
| | | plugins { |
| | | id 'com.android.library' |
| | | id 'com.google.gms.google-services' |
| | | } |
| | | |
| | | 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 |
| | | minSdkVersion 21 |
| | | 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: 'quickgame_hw_2.3.3', ext: 'aar') //x.x.x为具体版本 |
| | | implementation 'com.android.billingclient:billing:5.2.1'//google内购 |
| | | implementation 'androidx.appcompat:appcompat:1.1.0' |
| | | implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.10" |
| | | //以下为选接库 |
| | | //谷歌登录 |
| | | implementation 'com.google.android.gms:play-services-auth:19.0.0' |
| | | //Facebook |
| | | implementation 'com.facebook.android:facebook-android-sdk:16.0.0' |
| | | //appsflyer |
| | | // implementation 'com.appsflyer:af-android-sdk:6.10.3' |
| | | ////adjust |
| | | // implementation 'com.adjust.sdk:adjust-android:4.31.1' |
| | | ////adjust需要 |
| | | // implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1' |
| | | ////appsflyer、adjust需要 |
| | | // implementation 'com.android.installreferrer:installreferrer:2.2' |
| | | ////Twitter登录 |
| | | // implementation 'com.twitter.sdk.android:twitter:3.1.1' |
| | | ////Line登录 |
| | | // implementation (name: 'line_sdk_4.0.8',ext: 'aar') |
| | | ////tapdb |
| | | // implementation files('libs/libTapDB-3.3.0.aar') |
| | | ////TalkingData |
| | | // implementation files('libs/TalkingData_GP_GameAnalytics_V4.0.69.jar') |
| | | implementation(name: 'ald_v', ext: 'aar') |
| | | //SDK基础能力 |
| | | implementation 'com.appsflyer:af-android-sdk:6.9.0' |
| | | implementation 'com.android.installreferrer:installreferrer:2.2' |
| | | api 'androidx.annotation:annotation:1.5.0' |
| | | api 'androidx.core:core:1.6.0' |
| | | api 'androidx.percentlayout:percentlayout:1.0.0' |
| | | //google ID |
| | | implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' |
| | | //firebase |
| | | implementation 'com.google.firebase:firebase-analytics' |
| | | implementation platform('com.google.firebase:firebase-bom:31.2.2') { |
| | | exclude group: 'com.android.support', module: 'support-compat' |
| | | } |
| | | //base theme |
| | | api 'androidx.appcompat:appcompat:1.2.0' |
| | | //ald ui用 |
| | | api 'androidx.cardview:cardview:1.0.0' |
| | | |
| | | //rustore |
| | | implementation 'org.jetbrains:annotations:15.0' |
| | | implementation("ru.rustore.sdk:billingclient:6.0.0") |
| | | |
| | | //paypal |
| | | //implementation('com.paypal.checkout:android-sdk:1.3.0') |
| | | implementation('androidx.browser:browser:1.5.0') |
| | | } |