mirror of https://github.com/termux/termux-app
51 lines
1.3 KiB
Groovy
51 lines
1.3 KiB
Groovy
plugins {
|
|
id "com.jfrog.bintray" version "1.7.3"
|
|
id "com.github.dcendents.android-maven" version "2.0"
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
ext {
|
|
bintrayName = 'terminal-view'
|
|
publishedGroupId = 'com.termux'
|
|
libraryName = 'TerminalView'
|
|
artifact = 'terminal-view'
|
|
libraryDescription = 'The terminal view used in Termux'
|
|
siteUrl = 'https://github.com/termux/termux'
|
|
gitUrl = 'https://github.com/termux/termux.git'
|
|
libraryVersion = '0.50'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
|
|
|
dependencies {
|
|
implementation "androidx.annotation:annotation:1.1.0"
|
|
api project(":terminal-emulator")
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion project.properties.minSdkVersion.toInteger()
|
|
targetSdkVersion project.properties.targetSdkVersion.toInteger()
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13'
|
|
}
|
|
|
|
apply from: '../scripts/bintray-publish.gradle'
|