Skip to content

Commit fdde436

Browse files
authored
Merge pull request #10 from nfl/Added_developer_sections_to_build_script
Added developer section to build script to fix deployment to Sonatype.
2 parents 6518c8d + 35ee76e commit fdde436

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Example for Maven:
1717
<dependency>
1818
<groupId>com.nfl.graphql</groupId>
1919
<artifactId>mediator</artifactId>
20-
<version>1.0.2</version>
20+
<version>x.y.z</version>
2121
</dependency>
2222
```
2323

2424
Example for gradle:
2525

2626
```
27-
gradle compile("com.nfl.graphql:mediator:1.0.2")
27+
gradle compile("com.nfl.graphql:mediator:x.y.z")
2828
```
2929

3030
Change history can be found here: [CHANGELOG.md](https://github.com/nfl/graphql-mediator/blob/master/CHANGELOG.md)

build.gradle

+6-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ publishing {
8686
}
8787
}
8888
}
89-
89+
developers {
90+
developer {
91+
id 'nflearl'
92+
name 'Earl Nolan'
93+
}
94+
}
9095
//Bug in maven-publish plugin changes scope to runtime instead of compile
9196
//https://discuss.gradle.org/t/maven-publish-plugin-generated-pom-making-dependency-scope-runtime/7494
9297
asNode().dependencies.'*'.findAll() {

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ maven.central.sync=false
55
sonatype.username=DUMMY_SONATYPE_USER
66
sonatype.password=DUMMY_SONATYPE_PASSWORD
77

8-
PROJECT_VERSION=1.0.2
8+
PROJECT_VERSION=1.0.3
99
PROJECT_GITHUB_REPO_URL=https://github.com/nfl/graphql-mediator
1010
PROJECT_LICENSE_URL=https://github.com/nfl/graphql-mediator/blob/master/LICENSE

0 commit comments

Comments
 (0)