Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven central migration #2

Merged
merged 9 commits into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Compile against thrifty 2.1.2
  • Loading branch information
reisub committed Mar 11, 2021
commit 05fb3c9ee0b3cb51eed3f78a31ed23fa5620ebfd
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ We also maintain a [changelog](CHANGELOG.md).
In case source files need to be generated from .thrift files using a different version of the thrifty compiler, use these commands:

```shell
java -jar thrifty-compiler-2.0.1-all.jar --out=retrofit-converter-thrifty/src/test/java/ --lang=java retrofit-converter-thrifty/src/test/resources/phone.thrift
java -jar thrifty-compiler-2.0.1-all.jar --out=retrofit-converter-thrifty/src/test/java/ --lang=kotlin --kt-file-per-type retrofit-converter-thrifty/src/test/resources/phone.thrift
wget https://repo1.maven.org/maven2/com/microsoft/thrifty/thrifty-compiler/2.1.2/thrifty-compiler-2.1.2-all.jar
java -jar thrifty-compiler-2.1.2-all.jar --out=retrofit-converter-thrifty/src/test/java/ --lang=java retrofit-converter-thrifty/src/test/resources/phone.thrift
java -jar thrifty-compiler-2.1.2-all.jar --out=retrofit-converter-thrifty/src/test/kotlin/ --lang=kotlin --kt-file-per-type retrofit-converter-thrifty/src/test/resources/phone.thrift

```

Expand Down
2 changes: 1 addition & 1 deletion retrofit-converter-thrifty/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ group = "co.infinum"
version = "2.0.0"

object Versions {
const val thrifty_version = "2.0.1"
const val thrifty_version = "2.1.2"
const val retrofit_version = "2.9.0"
const val okhttp_version = "4.9.1"
const val okio_version = "2.10.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Automatically generated by the Thrifty compiler; do not edit!
// Generated on: 2020-06-01T12:48:15.816Z
// Source: /Users/dino/android/thrifty-converter/retrofit-converter-thrifty/src/test/resources/phone.thrift at 3:1
// Generated on: 2021-03-11T13:23:16.134262292Z
// Source: /home/dino/work/thrifty-retrofit-converter/retrofit-converter-thrifty/src/test/resources/phone.thrift: (3, 1)
package co.infinum.thrifty.java;

import com.microsoft.thrifty.Adapter;
Expand Down