Skip to content

Commit

Permalink
Fix nightlies regarding Royals_2v2_2025 (#218)
Browse files Browse the repository at this point in the history
* Add new field Royals_2v2_2025

* Set new version
  • Loading branch information
mlieshoff authored Feb 14, 2025
1 parent 498d17f commit ace6352
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 6 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## [4.0.15] - 2025-02-14

### Added

- (new field) players.info.Player.progress.Royals_2v2_2025

## [4.0.14] - 2025-02-14

### Added
Expand Down Expand Up @@ -296,7 +302,8 @@

- Create a Release job (#152)

[unreleased]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.14...HEAD
[unreleased]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.15...HEAD
[4.0.15]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.14...4.0.15
[4.0.14]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.13...4.0.14
[4.0.13]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.12...4.0.13
[4.0.12]: https://github.com/mlieshoff/jcrapi2/compare/v4.0.11...4.0.12
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![](https://img.shields.io/badge/java-packagecloud.io-844fec.svg)](https://packagecloud.io/)
[![Nightlies](https://github.com/mlieshoff/jcrapi2/actions/workflows/nightlies.yml/badge.svg)](https://github.com/mlieshoff/jcrapi2/actions/workflows/nightlies.yml)

# jcrapi2 4.0.14
# jcrapi2 4.0.15
A Java Wrapper For Official Supercell Clash Royal Api

## Why we don't use the Swagger scheme?
Expand Down Expand Up @@ -484,15 +484,15 @@ All requests are returning *java.concurrent.Future*. The execution will be async

to Gradle:
```groovy
implementation group: 'jcrapi2', name: 'jcrapi2', version: '4.0.14'
implementation group: 'jcrapi2', name: 'jcrapi2', version: '4.0.15'
```

to Maven:
```xml
<dependency>
<groupId>jcrapi2</groupId>
<artifactId>jcrapi2</artifactId>
<version>4.0.14</version>
<version>4.0.15</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.0.14
v4.0.15
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>jcrapi2</artifactId>
<packaging>jar</packaging>
<version>4.0.14</version>
<version>4.0.15</version>
<groupId>jcrapi2</groupId>
<url>https://maven.apache.org</url>
<inceptionYear>2018</inceptionYear>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/jcrapi2/api/intern/players/info/Progress.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ public class Progress {

@SerializedName("Royals_2v2")
private Royals2v2 royals2v2;

@SerializedName("Royals_2v2_2025")
private Royals2v22025 royals2v22025;
}
34 changes: 34 additions & 0 deletions src/main/java/jcrapi2/api/intern/players/info/Royals2v22025.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package jcrapi2.api.intern.players.info;

import com.google.gson.annotations.SerializedName;

import lombok.Data;

@Data
public class Royals2v22025 {

@SerializedName("arena")
private Arena arena;

@SerializedName("trophies")
private int trophies;

@SerializedName("bestTrophies")
private int bestTrophies;
}

0 comments on commit ace6352

Please sign in to comment.