mirror of
https://github.com/gotify/android.git
synced 2026-05-07 23:29:04 +08:00
Move login logic (URL checking, authentication, client creation) into a ViewModel with LiveData state and Channel-based events. Replace temporary SSL setting variables with direct Settings writes and use a ConstraintLayout Group for credential field visibility.
openapi-java-client
Requirements
Building the API client library requires Maven to be installed.
Installation & Usage
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
After the client library is installed/deployed, you can use it in your Maven project by adding the following to your pom.xml:
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>openapi-java-client</artifactId>
<version>2.1.0</version>
<scope>compile</scope>
</dependency>