From c7840c07ee9543a5841aa3e8f86d22e0bad24b4c Mon Sep 17 00:00:00 2001 From: kangxuyao Date: Fri, 4 Mar 2022 23:04:06 +0800 Subject: [PATCH] version++ --- android/build.gradle | 4 +- android/build.gradle.tpl | 96 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 android/build.gradle.tpl diff --git a/android/build.gradle b/android/build.gradle index f1df97d..39a5b02 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -92,6 +92,6 @@ kapt { } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.finogeeks.lib:finapplet:2.35.7' - implementation 'com.finogeeks.mop:plugins:2.35.7' + implementation 'com.finogeeks.lib:finapplet:2.35.9' + implementation 'com.finogeeks.mop:plugins:2.35.9' } \ No newline at end of file diff --git a/android/build.gradle.tpl b/android/build.gradle.tpl new file mode 100644 index 0000000..3334d92 --- /dev/null +++ b/android/build.gradle.tpl @@ -0,0 +1,96 @@ + +apply plugin: 'com.android.library' + +apply plugin: 'kotlin-android' +apply plugin: 'kotlin-kapt' +apply plugin: 'kotlin-android-extensions' + +group 'com.finogeeks.mop' +version '1.0' + +buildscript { + repositories { + google() + jcenter() + maven { + url "https://gradle.finogeeks.club/repository/finogeeks/" + credentials { + username "finclip" + password "Abcd@@1234" + } + } + maven { + url "https://gradle.finogeeks.club/repository/applet/" + credentials { + username "finclip" + password "Abcd@@1234" + } + } + maven { url "https://jitpack.io" } + + } + + dependencies { + classpath 'com.android.tools.build:gradle:3.5.3' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61" + + } +} + +rootProject.allprojects { + repositories { + google() + jcenter() + maven { + url "https://gradle.finogeeks.club/repository/finogeeks/" + credentials { + username "finclip" + password "Abcd@@1234" + } + } + maven { + url "https://gradle.finogeeks.club/repository/applet/" + credentials { + username "finclip" + password "Abcd@@1234" + } + } + maven { url "https://jitpack.io" } + + } +} + + +android { + compileSdkVersion 28 + + defaultConfig { + minSdkVersion 21 + 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 + } + lintOptions { + disable 'InvalidPackage' + } +} + +kapt { + arguments { + arg("moduleName", project.getName()) + } +} +dependencies { + implementation fileTree(include: ['*.jar'], dir: 'libs') + implementation 'com.finogeeks.lib:finapplet:__finapplet_version__' + implementation 'com.finogeeks.mop:plugins:__finapplet_version__' +} \ No newline at end of file