kscript-annotations

Annotation directives for kscript

Лицензия

Лицензия

MIT
Группа

Группа

com.github.holgerbrandl
Идентификатор

Идентификатор

kscript-annotations
Последняя версия

Последняя версия

1.4
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

kscript-annotations
Annotation directives for kscript
Ссылка на сайт

Ссылка на сайт

https://github.com/holgerbrandl/kscript
Система контроля версий

Система контроля версий

https://github.com/holgerbrandl/kscript-annotations.git

Скачать kscript-annotations

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.32

Модули Проекта

Данный проект не имеет модулей.

Annotation directives for kscript

For details see https://github.com/holgerbrandl/kscript

Current version: 1.4 (MavenCentral)

How to use?

Simply change your gradle dependencies to include:

implementation 'com.github.holgerbrandl:kscript-annotations:1.4'

Example

#!/usr/bin/env kscript

@file:DependsOn("de.mpicbg.scicomp:kutils:0.4")
@file:DependsOn("com.beust:klaxon:0.24", "com.github.kittinunf.fuel:fuel:1.3.1")


@file:Include("util.kt")

@file:EntryPoint("Foo.bar") // applies on for kt-files

// define kotlin options
@file:KotlinOpts("-J-Xmx5g")
@file:KotlinOpts("-J-server")


print("1+1")

Версии библиотеки

Версия
1.4
1.2