Skip to content

Commit

Permalink
Update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftrot committed Jun 15, 2019
1 parent 623af96 commit 97de4bc
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -26,6 +26,7 @@ obj/
bin/
gen/
out/
.cxx/

# Gradle files
.gradle/
Expand Down
10 changes: 9 additions & 1 deletion build.gradle
Expand Up @@ -4,16 +4,24 @@ buildscript {
jcenter()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'com.android.tools.build:gradle:3.5.0-beta04'
}

ext.versions = [
'compileSdk': 29,
'minSdk' : 16,
'targetSdk' : 28
]
}

allprojects {
repositories {
jcenter()
google()
}

gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
Expand Down
13 changes: 9 additions & 4 deletions emulatorview/build.gradle
@@ -1,11 +1,11 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 28
compileSdkVersion versions.compileSdk

defaultConfig {
minSdkVersion 16
targetSdkVersion 28
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
}

buildTypes {
Expand All @@ -14,9 +14,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.annotation:annotation:1.0.2'
implementation 'androidx.annotation:annotation:1.1.0'
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Thu Apr 18 07:29:34 JST 2019
#Tue Jun 11 00:35:26 JST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
17 changes: 13 additions & 4 deletions libtermexec/build.gradle
@@ -1,12 +1,14 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 28
compileSdkVersion versions.compileSdk

defaultConfig {
minSdkVersion 16
targetSdkVersion 28
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
}

defaultConfig {
externalNativeBuild {
ndkBuild {
arguments '-C', 'src/main', '-j', Runtime.runtime.availableProcessors() + ''
Expand All @@ -27,11 +29,18 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.annotation:annotation:1.0.2'
implementation 'androidx.annotation:annotation:1.1.0'
}
21 changes: 16 additions & 5 deletions term/build.gradle
Expand Up @@ -4,13 +4,16 @@ repositories {
}

import java.text.SimpleDateFormat

android {
compileSdkVersion 29
compileSdkVersion versions.compileSdk

defaultConfig {
minSdkVersion 16
targetSdkVersion 28
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
}

defaultConfig {
versionName = "1.0.0"
versionCode 1

Expand Down Expand Up @@ -61,14 +64,22 @@ android {
applicationId "com.droidvim"
}
}

compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.annotation:annotation:1.0.2'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0-beta01'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0-beta02'
implementation project(':emulatorview')
implementation project(':libtermexec')
}

dependencies {
implementation 'org.apache.commons:commons-compress:1.18'
implementation 'commons-io:commons-io:2.6'
implementation 'org.tukaani:xz:1.8'
Expand Down

0 comments on commit 97de4bc

Please sign in to comment.