Skip to content

Commit 4271b91

Browse files
committed
Upgrade lib version and upgrade plugin version in examples
1 parent dfac210 commit 4271b91

File tree

5 files changed

+12
-19
lines changed

5 files changed

+12
-19
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ and assuming `mavenCentral()` is one of the `repositories`, the dependency can b
170170

171171
```
172172
dependencies {
173-
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.2.0'
173+
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
174174
}
175175
```
176176

@@ -185,11 +185,11 @@ PBAndK does not generate gRPC code itself, but offers a `pbandk.gen.ServiceGener
185185
that can be implemented to generate the code.
186186

187187
To do this, first depend on the project but it will only be needed at compile time because it's already there at
188-
runtime (note, only in Sonatype snapshot repo until 0.3.0 released):
188+
runtime:
189189

190190
```
191191
dependencies {
192-
compileOnly 'com.github.cretz.pbandk:protoc-gen-kotlin-jvm:0.3.0-SNAPSHOT'
192+
compileOnly 'com.github.cretz.pbandk:protoc-gen-kotlin-jvm:0.3.0'
193193
}
194194
```
195195

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildscript {
1414

1515
allprojects {
1616
group 'com.github.cretz.pbandk'
17-
version '0.3.0-SNAPSHOT'
17+
version '0.3.0'
1818

1919
repositories {
2020
mavenCentral()

examples/browser-js/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
9-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
9+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'
1010
classpath 'org.jetbrains.kotlin:kotlin-frontend-plugin:0.0.44'
1111
}
1212
}
@@ -18,12 +18,11 @@ apply plugin: 'com.google.protobuf'
1818

1919
repositories {
2020
mavenCentral()
21-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
2221
}
2322

2423
dependencies {
2524
compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version"
26-
compile 'com.github.cretz.pbandk:pbandk-runtime-js:0.3.0-SNAPSHOT'
25+
compile 'com.github.cretz.pbandk:pbandk-runtime-js:0.3.0'
2726
// This is needed for includes, ref: https://github.com/google/protobuf-gradle-plugin/issues/41#issuecomment-143884188
2827
compileOnly 'com.google.protobuf:protobuf-java:3.6.1'
2928
}

examples/custom-service-gen/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66
dependencies {
77
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
8-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
8+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'
99
}
1010
}
1111

@@ -14,9 +14,6 @@ allprojects {
1414

1515
repositories {
1616
mavenCentral()
17-
maven {
18-
url = 'https://oss.sonatype.org/content/repositories/snapshots'
19-
}
2017
}
2118
}
2219

@@ -28,7 +25,7 @@ project(':application') {
2825
applicationName = 'greeter'
2926

3027
dependencies {
31-
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0-SNAPSHOT'
28+
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
3229
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0'
3330
}
3431

@@ -73,7 +70,7 @@ project(':generator') {
7370
}
7471

7572
dependencies {
76-
compileOnly 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0-SNAPSHOT'
77-
compileOnly name: 'protoc-gen-kotlin-jvm-0.3.0-SNAPSHOT'
73+
compileOnly 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
74+
compileOnly name: 'protoc-gen-kotlin-jvm-0.3.0'
7875
}
7976
}

examples/gradle-and-jvm/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ buildscript {
55
}
66
dependencies {
77
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
8-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
8+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'
99
}
1010
}
1111

1212
repositories {
1313
mavenCentral()
14-
maven {
15-
url = 'https://oss.sonatype.org/content/repositories/snapshots'
16-
}
1714
}
1815

1916
apply plugin: 'kotlin'
@@ -24,7 +21,7 @@ mainClassName = 'pbandk.examples.addressbook.MainKt'
2421
applicationName = 'addressbook'
2522

2623
dependencies {
27-
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0-SNAPSHOT'
24+
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
2825
}
2926

3027
compileJava.enabled = false

0 commit comments

Comments
 (0)