Skip to content

Commit 740e885

Browse files
committed
Updated MapStruct dependency to CR1. Still trying to figure out the signing plugin.
1 parent def7980 commit 740e885

File tree

7 files changed

+18
-17
lines changed

7 files changed

+18
-17
lines changed

annotations/build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: "maven-publish"
22
apply plugin: "signing"
33

44
dependencies {
5-
compileOnly'org.springframework:spring-core:5.0.0.RELEASE'
5+
compileOnly 'org.springframework:spring-core:5.0.0.RELEASE'
66
}
77

88
java {
@@ -31,7 +31,9 @@ publishing {
3131
}
3232
developers {
3333
developer {
34+
id = 'RayBan'
3435
name = 'Raimund Klein'
36+
3537
}
3638
}
3739
scm {
@@ -52,6 +54,9 @@ publishing {
5254
}
5355

5456
signing {
57+
required { gradle.taskGraph.hasTask("uploadArchives") }
58+
sign configurations.archives
59+
useGpgCmd()
5560
sign publishing.publications.mavenJava
5661
}
5762

@@ -60,7 +65,6 @@ javadoc {
6065
options.addBooleanOption('html5', true)
6166
}
6267
options.links = [
63-
"https://docs.oracle.com/javase/8/docs/api/",
6468
"https://docs.spring.io/spring/docs/5.0.0.RELEASE/javadoc-api/"
6569
]
6670
}

build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ allprojects {
2121
repositories {
2222
jcenter()
2323
mavenCentral()
24-
maven {
25-
url "https://oss.sonatype.org/content/repositories/snapshots"
26-
}
2724
}
2825
}
2926

examples/classname/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ dependencies {
44
implementation project(":annotations")
55
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
66
compileOnly 'javax.annotation:jsr250-api:1.0'
7-
implementation 'org.mapstruct:mapstruct:1.4.0-SNAPSHOT'
8-
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0-SNAPSHOT'
7+
implementation 'org.mapstruct:mapstruct:1.4.0.CR1'
8+
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.CR1'
99
implementation 'org.springframework:spring-core:5.0.0.RELEASE'
1010
implementation 'org.springframework:spring-context:5.0.0.RELEASE'
1111
testImplementation 'org.springframework:spring-test:5.0.0.RELEASE'

examples/noconfig/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ dependencies {
33
implementation project(":examples:model")
44
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
55
compileOnly 'javax.annotation:jsr250-api:1.0'
6-
implementation 'org.mapstruct:mapstruct:1.4.0-SNAPSHOT'
7-
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0-SNAPSHOT'
6+
implementation 'org.mapstruct:mapstruct:1.4.0.CR1'
7+
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.CR1'
88
implementation 'org.springframework:spring-core:5.0.0.RELEASE'
99
implementation 'org.springframework:spring-context:5.0.0.RELEASE'
1010
testImplementation 'org.springframework:spring-test:5.0.0.RELEASE'

examples/packagename-and-classname/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ dependencies {
44
implementation project(":annotations")
55
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
66
compileOnly 'javax.annotation:jsr250-api:1.0'
7-
implementation 'org.mapstruct:mapstruct:1.4.0-SNAPSHOT'
8-
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0-SNAPSHOT'
7+
implementation 'org.mapstruct:mapstruct:1.4.0.CR1'
8+
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.CR1'
99
implementation 'org.springframework:spring-core:5.0.0.RELEASE'
1010
implementation 'org.springframework:spring-context:5.0.0.RELEASE'
1111
testImplementation 'org.springframework:spring-test:5.0.0.RELEASE'

examples/packagename/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ dependencies {
44
implementation project(":examples:model")
55
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
66
compileOnly 'javax.annotation:jsr250-api:1.0'
7-
implementation 'org.mapstruct:mapstruct:1.4.0-SNAPSHOT'
8-
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0-SNAPSHOT'
7+
implementation 'org.mapstruct:mapstruct:1.4.0.CR1'
8+
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.CR1'
99
implementation 'org.springframework:spring-core:5.0.0.RELEASE'
1010
implementation 'org.springframework:spring-context:5.0.0.RELEASE'
1111
testImplementation 'org.springframework:spring-test:5.0.0.RELEASE'

extensions/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: "signing"
33

44
dependencies {
55
implementation project(":annotations")
6-
implementation 'org.mapstruct:mapstruct:1.4.0-SNAPSHOT'
6+
implementation 'org.mapstruct:mapstruct:1.4.0.CR1'
77
implementation 'com.squareup:javapoet:1.12.1'
88
implementation 'org.apache.commons:commons-lang3:3.10'
99

@@ -44,9 +44,9 @@ publishing {
4444
}
4545
}
4646
scm {
47-
connection = 'scm:git:git://git@github.com:mapstruct/mapstruct-spring-extensions.git'
48-
developerConnection = 'scm:git:ssh://git@github.com:mapstruct/mapstruct-spring-extensions.git'
49-
// url = 'http://example.com/my-library/'
47+
connection = 'scm:git:git://github.com/mapstruct/mapstruct-spring-extensions.git'
48+
developerConnection = 'scm:git:git://github.com/mapstruct/mapstruct-spring-extensions.git'
49+
url = 'https://github.com/mapstruct/mapstruct-spring-extensions'
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)