Update gradle configuration

This commit is contained in:
Fredrik Fornwall
2017-10-28 11:04:56 +02:00
parent 9e5293a08e
commit d68a0f05be
5 changed files with 12 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ android:
components: components:
- platform-tools - platform-tools
- tools - tools
- build-tools-26.0.2 - build-tools-27.0.0
- android-26 - android-26
- extra-android-m2repository - extra-android-m2repository

View File

@@ -2,10 +2,10 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.2" buildToolsVersion "27.0.0"
dependencies { dependencies {
compile 'com.android.support:support-annotations:26.1.0' compile 'com.android.support:support-annotations:27.0.0'
compile "com.android.support:support-core-utils:26.1.0" compile "com.android.support:support-core-utils:26.1.0"
compile "com.android.support:support-core-ui:26.1.0" compile "com.android.support:support-core-ui:26.1.0"
compile project(":terminal-view") compile project(":terminal-view")
@@ -15,8 +15,8 @@ android {
applicationId "com.termux" applicationId "com.termux"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 26 targetSdkVersion 26
versionCode 53 versionCode 54
versionName "0.53" versionName "0.54"
} }
buildTypes { buildTypes {

View File

@@ -1,11 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.android.tools.build:gradle:3.0.0'
} }
} }

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,12 +13,12 @@ ext {
libraryDescription = 'The terminal emulator used in Termux' libraryDescription = 'The terminal emulator 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.50' libraryVersion = '0.51'
} }
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.2" buildToolsVersion "27.0.0"
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21

View File

@@ -18,7 +18,7 @@ ext {
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.2" buildToolsVersion "27.0.0"
dependencies { dependencies {
compile 'com.android.support:support-annotations:25.3.1' compile 'com.android.support:support-annotations:25.3.1'