File tree Expand file tree Collapse file tree 7 files changed +15
-11
lines changed
src/main/java/io/syslogic/agconnect/model Expand file tree Collapse file tree 7 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,18 @@ val sourcesJar by tasks.registering(Jar::class) {
7979 from(sourceSets.main.get().java.srcDirs)
8080}
8181
82- artifacts {
83- archives(javadocJar)
84- archives(sourcesJar)
82+ // Gradle 9.1 deprecation fix
83+ configurations {
84+ @Suppress(" UnstableApiUsage" )
85+ consumable(" jars" ) {
86+ outgoing.artifact(javadocJar)
87+ outgoing.artifact(sourcesJar)
88+ }
89+ }
90+
91+ tasks.named(" assemble" ) {
92+ dependsOn(javadocJar)
93+ dependsOn(sourcesJar)
8594}
8695
8796group = pluginGroup
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ github_dev = "Martin Zeitler"
1010github_handle = " syslogic"
1111
1212plugin_version = " 1.4.2"
13- android_gradle = " 8.13.0 "
13+ android_gradle = " 8.13.1 "
1414gradle_publish = " 2.0.0"
1515annotations = " 26.0.2-1"
1616httpcore = " 4.4.16"
1717httpclient = " 4.5.14"
1818httpmime = " 4.5.14"
19- junit = " 5.13.4 "
19+ junit = " 6.0.1 "
2020gson = " 2.13.2"
2121
2222[plugins ]
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-9.0 .0-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.1 .0-bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -31,11 +31,9 @@ public class AppInfo {
3131 private String updateTime ;
3232
3333 @ SerializedName ("deviceTypes" )
34- @ SuppressWarnings ("MismatchedQueryAndUpdateOfCollection" )
3534 private List <AppInfoDeviceType > deviceTypes ;
3635
3736 @ SerializedName ("languages" )
38- @ SuppressWarnings ("MismatchedQueryAndUpdateOfCollection" )
3937 private List <AppInfoLanguage > languages ;
4038
4139 @ SerializedName ("auditInfo" )
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ public class AppInfoLanguage {
1717 private String appName ;
1818
1919 @ SerializedName ("deviceMaterials" )
20- @ SuppressWarnings ("MismatchedQueryAndUpdateOfCollection" )
2120 private List <AppInfoDeviceMaterial > deviceMaterials ;
2221
2322 @ Override
Original file line number Diff line number Diff line change 66 * Data Model: TokenRequest
77 * @author Martin Zeitler
88 */
9- @ SuppressWarnings ({"FieldMayBeFinal" })
109public class TokenRequest {
1110
1211 @ SerializedName ("grant_type" )
Original file line number Diff line number Diff line change 66 * Data Model: UploadUrlRequest
77 * @author Martin Zeitler
88 */
9- @ SuppressWarnings ({"FieldMayBeFinal" })
109public class UploadUrlRequest {
1110
1211 @ SerializedName ("appId" )
You can’t perform that action at this time.
0 commit comments