Update gradle configuration

This commit is contained in:
Fredrik Fornwall
2017-11-07 04:25:48 +01:00
parent 2deb9899bd
commit 0bdbf314ef
3 changed files with 8 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
// Start https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle // Start https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle
apply plugin: 'com.github.dcendents.android-maven'
group = publishedGroupId // Maven Group ID for the artifact group = publishedGroupId // Maven Group ID for the artifact
install { install {
repositories.mavenInstaller { repositories.mavenInstaller {

View File

@@ -17,12 +17,12 @@ ext {
} }
android { android {
compileSdkVersion 26 compileSdkVersion 27
buildToolsVersion "27.0.1" buildToolsVersion "27.0.1"
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 26 targetSdkVersion 27
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {

View File

@@ -1,6 +1,6 @@
plugins { plugins {
id "com.jfrog.bintray" version "1.7" id "com.jfrog.bintray" version "1.7.3"
id "com.github.dcendents.android-maven" version "1.5" id "com.github.dcendents.android-maven" version "2.0"
} }
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
@@ -13,21 +13,21 @@ ext {
libraryDescription = 'The terminal view used in Termux' libraryDescription = 'The terminal view used in Termux'
siteUrl = 'https://github.com/termux/termux' siteUrl = 'https://github.com/termux/termux'
gitUrl = 'https://github.com/termux/termux.git' gitUrl = 'https://github.com/termux/termux.git'
libraryVersion = '0.49' libraryVersion = '0.50'
} }
android { android {
compileSdkVersion 26 compileSdkVersion 27
buildToolsVersion "27.0.1" buildToolsVersion "27.0.1"
dependencies { dependencies {
compile 'com.android.support:support-annotations:25.3.1' compile 'com.android.support:support-annotations:27.0.0'
compile project(":terminal-emulator") compile project(":terminal-emulator")
} }
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 26 targetSdkVersion 27
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }