📜  改造 gradle - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:10.655000             🧑  作者: Mango

代码示例2
Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://api.github.com/")
    .addConverterFactory(GsonConverterFactory.create())
    .build();

GitHubService service = retrofit.create(GitHubService.class);