Skip to content

Commit e6a92fb

Browse files
committed
Bump dependency versions to plugin+instrumentation libraries
1 parent d7b48e9 commit e6a92fb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: build-logic/src/main/kotlin/Deployment.kt

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import org.gradle.configurationcache.extensions.capitalized
1515
import org.gradle.jvm.tasks.Jar
1616
import org.gradle.kotlin.dsl.support.uppercaseFirstChar
1717
import org.gradle.kotlin.dsl.withGroovyBuilder
18+
import org.gradle.plugins.signing.Sign
1819
import org.gradle.plugins.signing.SigningExtension
1920
import java.io.File
2021

@@ -112,6 +113,12 @@ fun Project.configureDeployment(deployConfig: Deployed) {
112113
signing {
113114
sign(publishing.publications)
114115
}
116+
117+
// Connect signing task to artifact-producing task
118+
// (build an AAR for Android modules, assemble a JAR for other modules)
119+
tasks.withType(Sign::class.java).configureEach {
120+
dependsOn(if (isAndroid) "bundleReleaseAar" else "assemble")
121+
}
115122
}
116123

117124
/* Private */

Diff for: build-logic/src/main/kotlin/Environment.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object Artifacts {
9191
platform = Java,
9292
groupId = "de.mannodermaus.gradle.plugins",
9393
artifactId = "android-junit5",
94-
currentVersion = "1.11.4.0-SNAPSHOT",
94+
currentVersion = "1.12.0.0-SNAPSHOT",
9595
latestStableVersion = "1.11.3.0",
9696
description = "Unit Testing with JUnit 5 for Android."
9797
)
@@ -101,7 +101,7 @@ object Artifacts {
101101
*/
102102
object Instrumentation {
103103
const val groupId = "de.mannodermaus.junit5"
104-
private const val currentVersion = "1.6.1-SNAPSHOT"
104+
private const val currentVersion = "1.7.0-SNAPSHOT"
105105
private const val latestStableVersion = "1.6.0"
106106

107107
val Core = Deployed(
@@ -156,6 +156,7 @@ class DeployedCredentials(private val project: Project) {
156156
//
157157
// * Local development:
158158
// Stored in local.properties file on the machine
159+
// (in the root folder of the project – the one containing "plugin/" and "instrumentation/")
159160
// * CI Server:
160161
// Stored in environment variables before launch
161162
val properties = Properties().apply {

0 commit comments

Comments
 (0)