File tree 2 files changed +10
-2
lines changed
build-logic/src/main/kotlin
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import org.gradle.configurationcache.extensions.capitalized
15
15
import org.gradle.jvm.tasks.Jar
16
16
import org.gradle.kotlin.dsl.support.uppercaseFirstChar
17
17
import org.gradle.kotlin.dsl.withGroovyBuilder
18
+ import org.gradle.plugins.signing.Sign
18
19
import org.gradle.plugins.signing.SigningExtension
19
20
import java.io.File
20
21
@@ -112,6 +113,12 @@ fun Project.configureDeployment(deployConfig: Deployed) {
112
113
signing {
113
114
sign(publishing.publications)
114
115
}
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
+ }
115
122
}
116
123
117
124
/* Private */
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ object Artifacts {
91
91
platform = Java ,
92
92
groupId = " de.mannodermaus.gradle.plugins" ,
93
93
artifactId = " android-junit5" ,
94
- currentVersion = " 1.11.4 .0-SNAPSHOT" ,
94
+ currentVersion = " 1.12.0 .0-SNAPSHOT" ,
95
95
latestStableVersion = " 1.11.3.0" ,
96
96
description = " Unit Testing with JUnit 5 for Android."
97
97
)
@@ -101,7 +101,7 @@ object Artifacts {
101
101
*/
102
102
object Instrumentation {
103
103
const val groupId = " de.mannodermaus.junit5"
104
- private const val currentVersion = " 1.6.1 -SNAPSHOT"
104
+ private const val currentVersion = " 1.7.0 -SNAPSHOT"
105
105
private const val latestStableVersion = " 1.6.0"
106
106
107
107
val Core = Deployed (
@@ -156,6 +156,7 @@ class DeployedCredentials(private val project: Project) {
156
156
//
157
157
// * Local development:
158
158
// Stored in local.properties file on the machine
159
+ // (in the root folder of the project – the one containing "plugin/" and "instrumentation/")
159
160
// * CI Server:
160
161
// Stored in environment variables before launch
161
162
val properties = Properties ().apply {
You can’t perform that action at this time.
0 commit comments