File tree 5 files changed +25
-15
lines changed
androidTest/java/com/koushikdutta/async/kotlin 5 files changed +25
-15
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
- apply plugin : ' kotlin-android'
3
2
apply plugin : ' kotlin-android-extensions'
3
+ apply plugin : ' kotlin-android'
4
+
4
5
android {
5
6
compileSdkVersion 29
6
7
buildToolsVersion " 29.0.1"
7
8
9
+ kotlinOptions {
10
+ apiVersion = " 1.3"
11
+ languageVersion = " 1.3"
12
+ }
13
+
14
+ compileOptions {
15
+ sourceCompatibility 1.8
16
+ targetCompatibility 1.8
17
+ }
8
18
9
19
defaultConfig {
10
20
minSdkVersion 14
@@ -25,11 +35,13 @@ android {
25
35
26
36
dependencies {
27
37
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
38
+ api project(' :AndroidAsync:AndroidAsync' )
39
+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
40
+
28
41
testImplementation ' junit:junit:4.12'
42
+ testImplementation ' org.jetbrains.kotlin:kotlin-test-junit:1.0.6'
29
43
androidTestImplementation ' androidx.test:runner:1.1.1'
30
44
androidTestImplementation ' androidx.test.espresso:espresso-core:3.1.1'
31
-
32
- api project(' :AndroidAsync:AndroidAsync' )
33
45
}
34
46
35
47
// upload to maven task
Original file line number Diff line number Diff line change 1
1
package com.koushikdutta.async.kotlin
2
2
3
- import androidx.test.platform.app.InstrumentationRegistry
4
- import androidx.test.ext.junit.runners.AndroidJUnit4
5
3
4
+ import androidx.test.platform.app.InstrumentationRegistry
5
+ import androidx.test.runner.AndroidJUnit4
6
+ import org.junit.Assert.assertEquals
6
7
import org.junit.Test
7
8
import org.junit.runner.RunWith
8
9
9
- import org.junit.Assert.*
10
-
11
10
/* *
12
11
* Instrumented test, which will execute on an Android device.
13
12
*
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.koushikdutta.async"
3
- android : versionCode =" 300"
4
- android : versionName =" 3.0.0" >
2
+ xmlns : maven =" http://schemas.android.com/apk/res/android"
3
+ package =" com.koushikdutta.async.kotlin"
4
+ maven : groupId =" com.koushikdutta.async"
5
+ android : versionCode =" 309"
6
+ android : versionName =" 3.0.9" >
5
7
6
8
<uses-permission android : name =" android.permission.INTERNET" />
7
9
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
2
package =" com.koushikdutta.async"
3
- android : versionCode =" 300 "
4
- android : versionName =" 3.0.0 " >
3
+ android : versionCode =" 308 "
4
+ android : versionName =" 3.0.8 " >
5
5
6
6
<uses-permission android : name =" android.permission.INTERNET" />
7
7
You can’t perform that action at this time.
0 commit comments