X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=49dfb20efca438c270ecca10075c1e61cd633e25;hb=eed83fe1fd361c6eb64152e02c0f05d203d071f9;hp=6e4aebf1b36dcfca068bb6769d5ef0d6ccc3bd4e;hpb=061580c83656bf358b01a6b78fd22ae9bd497728;p=rtmpclient.git diff --git a/app/build.gradle b/app/build.gradle index 6e4aebf..49dfb20 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,9 +6,12 @@ android { applicationId "ai.suanzi.rtmpclient" minSdkVersion 17 targetSdkVersion 17 - versionCode 1 - versionName "1.0" + versionCode 32 + versionName "v0.3.2" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + buildConfigField "String", "GIT_REVISION", "\"${getGitVersion()}\"" + buildConfigField "String", "COMPANY", "\"suanzi.ai\"" + sourceSets.main { jni.srcDirs = [] @@ -24,6 +27,10 @@ android { } } +def getGitVersion() { + return 'git rev-parse --short HEAD'.execute().text.trim() +} + dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:27.1.1' @@ -33,5 +40,7 @@ dependencies { androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' implementation files('libs/log4j-1.2.17.jar') implementation files('libs/android-logging-log4j-1.0.3.jar') + implementation files('libs/android-mail-1.5.5.jar') + implementation files('libs/android-activation-1.5.5.jar') implementation 'com.android.support:design:27.1.1' }