Skip to content

Commit

Permalink
Merge pull request #168 from mavlink/prepare-release-2.1.0
Browse files Browse the repository at this point in the history
Prepare release 2.1.0
  • Loading branch information
JonasVautherin authored Jun 26, 2024
2 parents ef48590 + 064dd1a commit aee2c1e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 35 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ MAVSDK-Java is distributed through MavenCentral, meaning that it can be imported
```
dependencies {
...
implementation 'io.mavsdk:mavsdk:2.0.1'
implementation 'io.mavsdk:mavsdk:2.1.0'
...
}
```
Expand All @@ -29,8 +29,8 @@ For Android, `mavsdk_server` is distributed as an Android library (`aar`):
```
dependencies {
...
implementation 'io.mavsdk:mavsdk:2.0.1'
implementation 'io.mavsdk:mavsdk-server:2.0.0'
implementation 'io.mavsdk:mavsdk:2.1.0'
implementation 'io.mavsdk:mavsdk-server:2.1.0'
...
}
```
Expand Down
4 changes: 2 additions & 2 deletions mavsdk_server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ android {

archivesBaseName = 'mavsdk-server'
group = 'io.mavsdk'
versionCode 2
version '2.0.1'
versionCode 3
version '2.1.0'

ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
Expand Down
2 changes: 1 addition & 1 deletion sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Because it is deployed on Maven Central, adding MAVSDK-Java to your project is a

```groovy
dependencies {
implementation 'io.mavsdk:mavsdk:2.0.1'
implementation 'io.mavsdk:mavsdk:2.1.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ subprojects {

group = 'io.mavsdk'
archivesBaseName = 'mavsdk'
version = '2.0.1'
version = '2.1.0'

repositories {
jcenter()
Expand Down Expand Up @@ -85,8 +85,8 @@ subprojects {
}
}

tasks.withType(Copy).all {
duplicatesStrategy 'include'
tasks.withType(Jar).all {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

java {
Expand Down
26 changes: 0 additions & 26 deletions sdk/mavsdk/src/main/java/io/mavsdk/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import io.mavsdk.action_server.ActionServer;
import io.mavsdk.calibration.Calibration;
import io.mavsdk.camera.Camera;
import io.mavsdk.component_information.ComponentInformation;
import io.mavsdk.component_information_server.ComponentInformationServer;
import io.mavsdk.core.Core;
import io.mavsdk.failure.Failure;
import io.mavsdk.follow_me.FollowMe;
Expand All @@ -27,7 +25,6 @@
import io.mavsdk.shell.Shell;
import io.mavsdk.telemetry.Telemetry;
import io.mavsdk.telemetry_server.TelemetryServer;
import io.mavsdk.tracking_server.TrackingServer;
import io.mavsdk.transponder.Transponder;
import io.mavsdk.tune.Tune;
import io.reactivex.annotations.NonNull;
Expand All @@ -38,8 +35,6 @@ public class System {
private final LazyPlugin<ActionServer> actionServer;
private final LazyPlugin<Calibration> calibration;
private final LazyPlugin<Camera> camera;
private final LazyPlugin<ComponentInformation> componentInformation;
private final LazyPlugin<ComponentInformationServer> componentInformationServer;
private final LazyPlugin<Core> core;
private final LazyPlugin<Failure> failure;
private final LazyPlugin<FollowMe> followMe;
Expand All @@ -60,7 +55,6 @@ public class System {
private final LazyPlugin<Shell> shell;
private final LazyPlugin<Telemetry> telemetry;
private final LazyPlugin<TelemetryServer> telemetryServer;
private final LazyPlugin<TrackingServer> trackingServer;
private final LazyPlugin<Transponder> transponder;
private final LazyPlugin<Tune> tune;

Expand All @@ -86,8 +80,6 @@ public System(@NonNull String host, int port) {
actionServer = LazyPlugin.from(() -> new ActionServer(host, port));
calibration = LazyPlugin.from(() -> new Calibration(host, port));
camera = LazyPlugin.from(() -> new Camera(host, port));
componentInformation = LazyPlugin.from(() -> new ComponentInformation(host, port));
componentInformationServer = LazyPlugin.from(() -> new ComponentInformationServer(host, port));
core = LazyPlugin.from(() -> new Core(host, port));
failure = LazyPlugin.from(() -> new Failure(host, port));
followMe = LazyPlugin.from(() -> new FollowMe(host, port));
Expand All @@ -108,7 +100,6 @@ public System(@NonNull String host, int port) {
shell = LazyPlugin.from(() -> new Shell(host, port));
telemetry = LazyPlugin.from(() -> new Telemetry(host, port));
telemetryServer = LazyPlugin.from(() -> new TelemetryServer(host, port));
trackingServer = LazyPlugin.from(() -> new TrackingServer(host, port));
transponder = LazyPlugin.from(() -> new Transponder(host, port));
tune = LazyPlugin.from(() -> new Tune(host, port));
}
Expand All @@ -133,16 +124,6 @@ public Camera getCamera() {
return camera.get();
}

@NonNull
public ComponentInformation getComponentInformation() {
return componentInformation.get();
}

@NonNull
public ComponentInformationServer getComponentInformationServer() {
return componentInformationServer.get();
}

@NonNull
public Core getCore() {
return core.get();
Expand Down Expand Up @@ -243,10 +224,6 @@ public TelemetryServer getTelemetryServer() {
return telemetryServer.get();
}

@NonNull
public TrackingServer getTrackingServer() {
return trackingServer.get();
}

@NonNull
public Transponder getTransponder() {
Expand All @@ -266,8 +243,6 @@ public void dispose() {
actionServer.dispose();
calibration.dispose();
camera.dispose();
componentInformation.dispose();
componentInformationServer.dispose();
core.dispose();
failure.dispose();
followMe.dispose();
Expand All @@ -288,7 +263,6 @@ public void dispose() {
shell.dispose();
telemetry.dispose();
telemetryServer.dispose();
trackingServer.dispose();
transponder.dispose();
tune.dispose();
}
Expand Down

0 comments on commit aee2c1e

Please sign in to comment.