2017-04-01 17:06:02 +00:00
|
|
|
apply plugin: 'com.android.library'
|
2021-02-11 20:45:21 +00:00
|
|
|
apply plugin: 'maven-publish'
|
2017-04-04 21:31:00 +00:00
|
|
|
|
2017-04-01 17:06:02 +00:00
|
|
|
android {
|
2020-08-04 12:36:14 +00:00
|
|
|
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
2017-04-01 17:06:02 +00:00
|
|
|
|
|
|
|
dependencies {
|
2022-01-07 18:09:23 +00:00
|
|
|
implementation "androidx.annotation:annotation:1.3.0"
|
2017-11-19 14:26:19 +00:00
|
|
|
api project(":terminal-emulator")
|
2017-04-01 17:06:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-08-04 12:36:14 +00:00
|
|
|
minSdkVersion project.properties.minSdkVersion.toInteger()
|
|
|
|
targetSdkVersion project.properties.targetSdkVersion.toInteger()
|
2017-04-01 17:06:02 +00:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2017-04-02 05:12:03 +00:00
|
|
|
|
2017-04-01 17:06:02 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2018-09-28 22:49:05 +00:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2017-04-01 17:06:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-04-25 20:49:11 +00:00
|
|
|
testImplementation "junit:junit:4.13.2"
|
2021-04-15 00:01:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
task sourceJar(type: Jar) {
|
|
|
|
from android.sourceSets.main.java.srcDirs
|
|
|
|
classifier "sources"
|
2017-04-01 17:06:02 +00:00
|
|
|
}
|
2017-04-04 21:31:00 +00:00
|
|
|
|
2021-06-20 22:36:20 +00:00
|
|
|
afterEvaluate {
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
// Creates a Maven publication called "release".
|
|
|
|
release(MavenPublication) {
|
|
|
|
from components.release
|
2021-06-22 22:36:36 +00:00
|
|
|
groupId = 'com.termux'
|
2021-06-20 22:36:20 +00:00
|
|
|
artifactId = 'terminal-view'
|
2022-01-07 22:32:35 +00:00
|
|
|
version = '0.118.0'
|
2021-06-20 22:36:20 +00:00
|
|
|
artifact(sourceJar)
|
2021-02-11 20:45:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|