mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
40 lines
1.3 KiB
Groovy
40 lines
1.3 KiB
Groovy
/*
|
|
* Copyright 2000-2017 JetBrains s.r.o.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
import org.apache.tools.ant.taskdefs.condition.Os
|
|
|
|
plugins {
|
|
id "com.jetbrains.python.envs" version "0.0.31"
|
|
}
|
|
|
|
|
|
envs {
|
|
bootstrapDirectory = new File(System.getenv().getOrDefault("PYCHARM_PYTHONS", new File(buildDir, 'pythons').path))
|
|
envsDirectory = new File(System.getenv().getOrDefault("PYCHARM_PYTHON_VIRTUAL_ENVS", new File(buildDir, 'envs').path))
|
|
|
|
if (System.getenv().containsKey("PYCHARM_ZIP_REPOSITORY")) {
|
|
zipRepository = new URL(System.getenv().get("PYCHARM_ZIP_REPOSITORY"))
|
|
shouldUseZipsFromRepository = Os.isFamily(Os.FAMILY_WINDOWS)
|
|
}
|
|
|
|
python "python37", "3.7.9"
|
|
python "python38", "3.8.10"
|
|
python "python39", "3.9.13"
|
|
python "python310", "3.10.8"
|
|
python "python311", "3.11.0"
|
|
python "python312", "3.12.0"
|
|
}
|