mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-13 09:26:52 -04:00
For 2.5: Proposal: Use Kotlin as the primary development language for… (#1167)
* For 2.5: Proposal: Use Kotlin as the primary development language for Kiwix #648 * Update mockito * apply 2 space indent
This commit is contained in:
parent
b6957df14c
commit
c83e6f2fd0
@ -8,13 +8,14 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.1.0'
|
|
||||||
classpath 'com.testdroid:gradle:1.5.0'
|
classpath 'com.testdroid:gradle:1.5.0'
|
||||||
classpath 'org.apache.httpcomponents:httpclient-android:4.3.3'
|
classpath 'org.apache.httpcomponents:httpclient-android:4.3.3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'checkstyle'
|
apply plugin: 'checkstyle'
|
||||||
apply plugin: 'testdroid'
|
apply plugin: 'testdroid'
|
||||||
|
|
||||||
@ -121,8 +122,8 @@ dependencies {
|
|||||||
androidTestImplementation 'junit:junit:4.12'
|
androidTestImplementation 'junit:junit:4.12'
|
||||||
|
|
||||||
// Mockito
|
// Mockito
|
||||||
testImplementation "org.mockito:mockito-core:2.7.22"
|
testImplementation "org.mockito:mockito-core:2.24.5"
|
||||||
androidTestImplementation "org.mockito:mockito-android:2.7.22"
|
androidTestImplementation "org.mockito:mockito-android:2.24.5"
|
||||||
|
|
||||||
// Leak canary
|
// Leak canary
|
||||||
implementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
|
implementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
|
||||||
@ -138,6 +139,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set custom app import directory
|
// Set custom app import directory
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
ext.kotlin_version = '1.3.31'
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.1.0'
|
classpath 'com.android.tools.build:gradle:3.4.0'
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
#Tue Mar 27 23:53:46 IST 2018
|
#Wed Apr 24 09:03:54 BST 2019
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user