Skip to content

Commit 2ae8e29

Browse files
Merge pull request #2 from appwrite/dev
Release 0.0.0
2 parents 14067c5 + ce7ca82 commit 2ae8e29

File tree

6 files changed

+21
-13
lines changed

6 files changed

+21
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
**CHANGELOG**
1+
# Change Log

LICENSE.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
test test test
1+
Copyright (c) 2021 Appwrite (https://appwrite.io) and individual contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
8+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9+
10+
3. Neither the name Appwrite nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite_io?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite_io)
66
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
77

8-
**This SDK is compatible with Appwrite server version 0.7.x. For older versions, please check previous releases.**
8+
**This SDK is compatible with Appwrite server version 0.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-kotlin/releases).**
99

10-
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs
10+
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Kotlin SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1111

12-
![Appwrite](https://appwrite.io/v1/images/console.png)
12+
![Appwrite](https://appwrite.io/images/github.png)
1313

1414
## Installation
1515

@@ -36,7 +36,7 @@ repositories {
3636
Next, add the dependency to your project's `build.gradle(.kts)` file:
3737

3838
```groovy
39-
implementation("io.appwrite:sdk-for-kotlin:0.0.0-SNAPSHOT")
39+
implementation("io.appwrite:sdk-for-kotlin:0.0.0")
4040
```
4141

4242
### Maven
@@ -47,7 +47,7 @@ Add this to your project's `pom.xml` file:
4747
<dependency>
4848
<groupId>io.appwrite</groupId>
4949
<artifactId>sdk-for-kotlin</artifactId>
50-
<version>0.0.0-SNAPSHOT</version>
50+
<version>0.0.0</version>
5151
</dependency>
5252
</dependencies>
5353
```

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ plugins {
77
ext {
88
PUBLISH_GROUP_ID = 'io.appwrite'
99
PUBLISH_ARTIFACT_ID = 'sdk-for-kotlin'
10-
PUBLISH_VERSION = '0.0.0-SNAPSHOT'
10+
PUBLISH_VERSION = '0.0.0'
1111
POM_URL = 'https://github.com/appwrite/sdk-for-kotlin'
1212
POM_SCM_URL = 'https://github.com/appwrite/sdk-for-kotlin'
1313
POM_ISSUE_URL = 'https://github.com/appwrite/sdk-for-kotlin/issues'
14-
POM_DESCRIPTION = 'Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs'
14+
POM_DESCRIPTION = 'Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Kotlin SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)'
1515
POM_LICENSE_URL = 'https://opensource.org/licenses/GPL-3.0'
1616
POM_LICENSE_NAME = "GPL-3.0"
1717
POM_DEVELOPER_ID = 'appwrite'

src/main/kotlin/io/appwrite/Client.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Client @JvmOverloads constructor(
4747
init {
4848
headers = mutableMapOf(
4949
"content-type" to "application/json",
50-
"x-sdk-version" to "appwrite:kotlin:0.0.0-SNAPSHOT",
50+
"x-sdk-version" to "appwrite:kotlin:0.0.0",
5151
"x-appwrite-response-format" to "0.8.0"
5252
)
5353
config = mutableMapOf()

src/main/kotlin/io/appwrite/services/Storage.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ class Storage(private val client: Client) : BaseService(client) {
195195
* @param fileId
196196
* @param width
197197
* @param height
198-
* @param gravity
199198
* @param quality
200199
* @param borderWidth
201200
* @param borderColor
@@ -212,7 +211,6 @@ class Storage(private val client: Client) : BaseService(client) {
212211
fileId: String,
213212
width: Int? = null,
214213
height: Int? = null,
215-
gravity: String? = null,
216214
quality: Int? = null,
217215
borderWidth: Int? = null,
218216
borderColor: String? = null,
@@ -226,7 +224,6 @@ class Storage(private val client: Client) : BaseService(client) {
226224
val params = mapOf<String, Any?>(
227225
"width" to width,
228226
"height" to height,
229-
"gravity" to gravity,
230227
"quality" to quality,
231228
"borderWidth" to borderWidth,
232229
"borderColor" to borderColor,

0 commit comments

Comments
 (0)