[Assign plugin] Add Gradle plugin and IDE dependencies for Assignment compiler plugin

This commit is contained in:
Anže Sodja
2022-09-01 15:58:08 +02:00
committed by Dmitriy Novozhilov
parent 09d6dfc8bf
commit 17cd0d7dbc
22 changed files with 361 additions and 1 deletions
@@ -0,0 +1,35 @@
/*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model
/**
* Entry point for Kotlin Value Container Assignment models.
* Represents the description of annotations interpreted by 'kotlin-assignment' plugin.
*/
interface Assignment {
/**
* Return a number representing the version of this API.
* Always increasing if changed.
*
* @return the version of this model.
*/
val modelVersion: Long
/**
* Returns the module (Gradle project) name.
*
* @return the module name.
*/
val name: String
/**
* Return the list of annotations.
*
* @return the list of annotations.
*/
val annotations: List<String>
}