All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jupyter.kotlin.Annotations.kt Maven / Gradle / Ivy

There is a newer version: 0.12.0-356
Show newest version
package jupyter.kotlin

/**
 * Describes the dependency
 *
 * @property value Can be one of the following:
 * - Maven artifact coordinates in the following form:
 * `:[:[:]]:}`
 * - Path to the JAR file (absolute or relative to the directory specified in [Repository])
 */
@Target(AnnotationTarget.FILE)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class DependsOn(val value: String = "")

/**
 * Describes the repository which is used for dependency resolution
 *
 * @property value Can be one of the following:
 * - Maven repository URL
 * - Local directory in which JARs are stored
 * @property username In case of private Maven repositories, username which is used for authentication
 * @property password In case of private Maven repositories, password which is used for authentication
 */
@Target(AnnotationTarget.FILE)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class Repository(
    val value: String = "",
    val username: String = "",
    val password: String = "",
)

/**
 * Describes compilation arguments used for the compilation of this and all following snippets
 *
 * @property values List of free compiler arguments
 */
@Target(AnnotationTarget.FILE)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class CompilerArgs(vararg val values: String)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy