Kotlin multiplatform updated to fit future Kotlin 1.6.0 release (#10468)

* Update Kotlin Version to 1.6.0-M1
Update Multiplatform Plugin to 1.6.0-M1
Update Gragle to 7.2
Update AGP to 7.0.2

Update samples accordingle

Resolve: https://github.com/OpenAPITools/openapi-generator/issues/10467

* Removes local.properties from kotlin-multiplatform petstore client, that was accidentally added

* Use the latest kotlin stable version 1.5.31

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
Fabio Bombardi
2021-10-13 09:56:28 +02:00
committed by GitHub
parent 34f475f7f7
commit ae86ff7aaf
3 changed files with 5 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class HttpBasicAuth : Authentication {
var username: String? = null
var password: String? = null
@InternalAPI
@OptIn(InternalAPI::class)
override fun apply(query: MutableMap<String, List<String>>, headers: MutableMap<String, String>) {
if (username == null && password == null) return
val str = (username ?: "") + ":" + (password ?: "")