Project build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.support_version = "23.1.1"
repositories {
jcenter()
}
dependencies {
class: center, middle | |
# Title | |
--- | |
# Agenda | |
1. Introduction | |
2. Deep-dive |
Project build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.support_version = "23.1.1"
repositories {
jcenter()
}
dependencies {
Project build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.0.0-beta-2417'
ext.support_version = "23.1.1"
repositories {
jcenter()
}
@Module
public class InteractorModule {
@Provides
public ILoginInfoInteractor providerILoginInfoInteractor() {
return InteractorFactory.get(ILoginInfoInteractor.class);
}
}
@Module
public class InteractorModule {
@Provides
public ILoginInfoInteractor providerILoginInfoInteractor() {
return InteractorFactory.get(ILoginInfoInteractor.class);
}
}
apply plugin: 'jacoco'
buildTypes {
debug {
// ...
// 打开该属性的话,在断点调试的时候会导致方法参数值丢失(看不到),所以在调试的时候要记得把它关掉
testCoverageEnabled true
}
}
in library:
apply from: '../mavenupload/maven_push.gradle'
maven_push.gradle:
// apply maven push plugin, https://github.com/wangjiegulu/RapidMavenPushPlugin | |
apply plugin: 'com.github.wangjiegulu.plg.rapidmavenpush' | |
rapidMavenPush { | |
printProperties = true | |
abortOnError = false | |
disable = false | |
defaultMavenType = 'local' | |
mavens { | |
maven { | |
mavenType = 'local' |
####
#### x.sh [FILE] [FOLDER_ID] [FILE_ID]
#### https://labbots.com/google-drive-upload-bash-script/
#### https://developers.google.com/oauthplayground/
####
CLIENT_SERCRET=`cat CLIENT_SERCRET`
REFRESH_TOKEN=`cat REFRESH_TOKEN`
CLIENT_ID=`cat CLIENT_ID`