Fixed error.
This commit is contained in:
parent
d64e80ecb0
commit
10da527f71
|
@ -9,7 +9,7 @@ buildscript {
|
|||
}
|
||||
|
||||
apply plugin: "idea"
|
||||
apply plugin: "java"
|
||||
apply plugin: "java-library"
|
||||
apply plugin: "groovy"
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'jacoco'
|
||||
|
@ -27,8 +27,8 @@ repositories {
|
|||
dependencies {
|
||||
|
||||
implementation("org.slf4j:slf4j-api:${slf4jVersion}")
|
||||
implementation('com.google.code.gson:gson:2.8.5')
|
||||
implementation("com.squareup.okhttp3:okhttp:4.1.0")
|
||||
api('com.google.code.gson:gson:2.8.5')
|
||||
api("com.squareup.okhttp3:okhttp:4.1.0")
|
||||
|
||||
testImplementation("org.slf4j:slf4j-simple:${slf4jVersion}")
|
||||
testImplementation('com.squareup.okhttp3:mockwebserver:4.1.0')
|
||||
|
@ -57,10 +57,11 @@ bintray {
|
|||
user = System.getenv('BINTRAY_USER')
|
||||
key = System.getenv('BINTRAY_KEY')
|
||||
|
||||
override = true
|
||||
configurations = ['archives']
|
||||
pkg {
|
||||
repo = "libs"
|
||||
name = id
|
||||
name = "libpaqle"
|
||||
websiteUrl = siteUrl
|
||||
vcsUrl = gitUrl
|
||||
licenses = licenses
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
id = libpaqle
|
||||
group = biz.nellemann.libs
|
||||
version = 1.0.1
|
||||
licenses = ['APACHE-2.0'] // or something else
|
||||
version = 1.0.2
|
||||
licenses = ['APACHE-2.0'] // or something else
|
||||
groovyVersion = 2.5.8
|
||||
slf4jVersion = 1.7.28
|
||||
spockVersion = 1.3-groovy-2.5
|
||||
|
|
|
@ -19,17 +19,13 @@
|
|||
|
||||
package biz.nellemann.libpaqle;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import biz.nellemann.libpaqle.pojo.PaqleResponse;
|
||||
import java.io.IOException;
|
||||
import com.google.gson.Gson;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonSyntaxException;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import okhttp3.Credentials;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Request;
|
||||
|
|
|
@ -29,7 +29,7 @@ public class News {
|
|||
List<NewsHeadline> headline;
|
||||
|
||||
@SerializedName(value = "extract", alternate = {"Extract"})
|
||||
List<NewsHeadline> extract;
|
||||
List<NewsExtract> extract;
|
||||
|
||||
/*
|
||||
News": [
|
||||
|
|
Loading…
Reference in a new issue