blob: acf75d30bd984a645ad22430d8f1ad879f2e6f19 [file] [log] [blame]
// Copyright (c) 2024, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.kotlin;
import kotlinx.metadata.jvm.JvmMetadataVersion;
public class KotlinJvmMetadataVersionUtils {
public static JvmMetadataVersion MIN_SUPPORTED_VERSION = new JvmMetadataVersion(1, 4, 0);
public static int[] toIntArray(JvmMetadataVersion version) {
return new int[] {version.getMajor(), version.getMinor(), version.getPatch()};
}
}