From 7e5b4ba9c1b1f4492423ae0ef5caa2390d11f051 Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Tue, 2 Jul 2024 09:38:11 +0200 Subject: [PATCH] feat: Add a global shared Versions class for gradle config --- .../utils/Versions.kt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 buildSrc/src/main/kotlin/com/infomaniak/multiplatform_swisstranfer/utils/Versions.kt diff --git a/buildSrc/src/main/kotlin/com/infomaniak/multiplatform_swisstranfer/utils/Versions.kt b/buildSrc/src/main/kotlin/com/infomaniak/multiplatform_swisstranfer/utils/Versions.kt new file mode 100644 index 00000000..5e96ddb6 --- /dev/null +++ b/buildSrc/src/main/kotlin/com/infomaniak/multiplatform_swisstranfer/utils/Versions.kt @@ -0,0 +1,31 @@ +/* + * Infomaniak SwissTransfer - Multiplatform + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.infomaniak.multiplatform_swisstranfer.utils + +import org.gradle.api.JavaVersion + +object Versions { + const val mavenVersionName = "0.0.1-snapshot" + + const val minSdk = 24 + const val compileSdk = 34 + const val skieMaxArgumentCount = 7 + + val javaVersion = JavaVersion.VERSION_17 +}