X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fbuild.gradle;h=dbdae8bd904f863584d9d90602ec29a977b96188;hb=b472e540ea87c45bdd874ec46d57ff799eeb9409;hp=f67efaa60bab4130d6e14aa39fe2d57279457ae7;hpb=b7202442677d0cf41e6e59870cd6c34e5619b8b9;p=rtmpclient.git diff --git a/app/build.gradle b/app/build.gradle index f67efaa..dbdae8b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,11 @@ android { minSdkVersion 17 targetSdkVersion 17 versionCode 1 - versionName "1.0" + 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,4 +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' }