diff --git a/app/build.gradle b/app/build.gradle index 4cddeaa..73675c0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,12 +25,12 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '11' } viewBinding { @@ -46,5 +46,19 @@ dependencies { implementation 'com.google.android.material:material:1.9.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + androidTestImplementation 'androidx.test:core:1.5.0' + androidTestImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.5' + debugImplementation "androidx.test:core:1.5.0" + + // Required -- JUnit 4 framework + testImplementation "junit:junit:4.13.2" + // Optional -- Robolectric environment + testImplementation "androidx.test:core:1.5.0" + // Optional -- Mockito framework + testImplementation "org.mockito:mockito-core:5.1.1" + // Optional -- Mockk framework + testImplementation "io.mockk:mockk:1.10.5" + implementation project(':library') } \ No newline at end of file diff --git a/library/build.gradle b/library/build.gradle index cf3142d..c1cdde1 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'com.github.iamageo' -version = '1.0.4' +version = '1.0.5' android { namespace 'com.iamageo.library' @@ -28,11 +28,11 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '11' } } @@ -41,6 +41,20 @@ dependencies { implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.11.0' + + androidTestImplementation 'androidx.test:core:1.5.0' + androidTestImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.5' + debugImplementation "androidx.test:core:1.5.0" + + // Required -- JUnit 4 framework + testImplementation "junit:junit:4.13.2" + // Optional -- Robolectric environment + testImplementation "androidx.test:core:1.5.0" + // Optional -- Mockito framework + testImplementation "org.mockito:mockito-core:5.1.1" + // Optional -- Mockk framework + testImplementation "io.mockk:mockk:1.10.5" } afterEvaluate { @@ -50,7 +64,7 @@ afterEvaluate { from components.release groupId = 'com.github.iamageo' artifactId = 'another_read_more' - version = '1.0.4' + version = '1.0.5' } } }