mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 14:40:53 +00:00
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:
parent
34f475f7f7
commit
ae86ff7aaf
@ -7,7 +7,7 @@ class HttpBasicAuth : Authentication {
|
|||||||
var username: String? = null
|
var username: String? = null
|
||||||
var password: String? = null
|
var password: String? = null
|
||||||
|
|
||||||
@InternalAPI
|
@OptIn(InternalAPI::class)
|
||||||
override fun apply(query: MutableMap<String, List<String>>, headers: MutableMap<String, String>) {
|
override fun apply(query: MutableMap<String, List<String>>, headers: MutableMap<String, String>) {
|
||||||
if (username == null && password == null) return
|
if (username == null && password == null) return
|
||||||
val str = (username ?: "") + ":" + (password ?: "")
|
val str = (username ?: "") + ":" + (password ?: "")
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
#Fri Sep 24 10:59:07 CEST 2021
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip
|
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
@ -7,7 +7,7 @@ class HttpBasicAuth : Authentication {
|
|||||||
var username: String? = null
|
var username: String? = null
|
||||||
var password: String? = null
|
var password: String? = null
|
||||||
|
|
||||||
@InternalAPI
|
@OptIn(InternalAPI::class)
|
||||||
override fun apply(query: MutableMap<String, List<String>>, headers: MutableMap<String, String>) {
|
override fun apply(query: MutableMap<String, List<String>>, headers: MutableMap<String, String>) {
|
||||||
if (username == null && password == null) return
|
if (username == null && password == null) return
|
||||||
val str = (username ?: "") + ":" + (password ?: "")
|
val str = (username ?: "") + ":" + (password ?: "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user