apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.termux.api" minSdkVersion 21 targetSdkVersion 28 versionCode 37 versionName "0.37" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation 'com.android.support:design:28.0.0' } task versionName { doLast { print android.defaultConfig.versionName } }