Skip to content

Commit 65a68a1

Browse files
update gradle
1 parent 164aba4 commit 65a68a1

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

app/build.gradle

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,23 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>
1717
*/
1818

19-
apply plugin: "com.android.application"
19+
plugins {
20+
id "com.android.application"
21+
id "kotlin-android"
22+
id "kotlin-allopen"
23+
id "jacoco"
24+
}
2025

21-
apply from: "jacoco.gradle"
22-
apply plugin: "kotlin-android"
23-
apply plugin: "kotlin-allopen"
26+
apply {
27+
from "jacoco.gradle"
28+
}
2429

2530
// dependencies -------------------------------------------------
2631
dependencies {
2732
// Compile Build Dependencies
2833
implementation fileTree(include: ["*.jar"], dir: "libs")
2934
implementation 'com.google.android.material:material:1.12.0'
30-
implementation 'androidx.annotation:annotation:1.8.2'
35+
implementation 'androidx.annotation:annotation:1.9.0'
3136
implementation 'androidx.appcompat:appcompat:1.7.0'
3237
implementation 'androidx.collection:collection-ktx:1.4.4'
3338
implementation 'androidx.core:core-ktx:1.13.1'
@@ -42,7 +47,7 @@ dependencies {
4247
testImplementation 'androidx.test.ext:junit:1.2.1'
4348
testImplementation 'com.googlecode.junit-toolbox:junit-toolbox:2.4'
4449
testImplementation 'junit:junit:4.13.2'
45-
testImplementation 'org.mockito:mockito-core:5.14.1'
50+
testImplementation 'org.mockito:mockito-core:5.14.2'
4651
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
4752
testImplementation 'org.robolectric:robolectric:4.13'
4853
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
@@ -97,6 +102,7 @@ android {
97102
unitTests {
98103
includeAndroidResources true
99104
all {
105+
jvmArgs("-XX:+EnableDynamicAgentLoading")
100106
testLogging {
101107
events "passed", "skipped", "failed", "standardOut", "standardError"
102108
outputs.upToDateWhen { false }

app/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Build Properties
2-
#Sat Oct 05 10:11:19 EDT 2024
3-
version_build=6
2+
#Fri Oct 18 08:48:43 EDT 2024
3+
version_build=7
44
version_major=3
55
version_minor=1
66
version_patch=3

app/jacoco.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>
1717
*/
1818

19-
apply plugin: "jacoco"
20-
2119
jacoco {
22-
toolVersion = "0.8.11"
20+
toolVersion = "0.8.12"
2321
}
2422

2523
def executionPath = 'outputs/unit_test_code_coverage/debugUnitTest/testDebugUnitTest.exec'

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
buildscript {
2222
ext {
23-
kotlin_version = '2.0.20'
23+
kotlin_version = '2.0.21'
2424
}
2525
repositories {
2626
google()
2727
mavenCentral()
2828
}
2929
dependencies {
30-
classpath 'com.android.tools.build:gradle:8.7.0'
30+
classpath 'com.android.tools.build:gradle:8.7.1'
3131
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
3232
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
3333
}

0 commit comments

Comments
 (0)