com.jetbrains.plugin.structure.edu.problems.PluginFileErrors.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-edu Show documentation
Show all versions of structure-edu Show documentation
Library for parsing JetBrains Edu plugins. Can be used to verify that plugin complies with JetBrains Marketplace requirements.
/*
* Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.jetbrains.plugin.structure.edu.problems
import com.jetbrains.plugin.structure.base.problems.IncorrectPluginFile
import com.jetbrains.plugin.structure.base.problems.PluginFileError
import com.jetbrains.plugin.structure.edu.EduPluginManager
fun createIncorrectEduPluginFile(fileName: String): PluginFileError =
IncorrectPluginFile(fileName, ".zip archive with ${EduPluginManager.DESCRIPTOR_NAME} file.")