{"id":27296710,"url":"https://github.com/kscripting/kscript-annotations","last_synced_at":"2025-04-11T23:44:16.243Z","repository":{"id":57720066,"uuid":"109197513","full_name":"kscripting/kscript-annotations","owner":"kscripting","description":"Annotations to configure Kotlins scripts run with kscript","archived":false,"fork":false,"pushed_at":"2022-09-17T09:52:42.000Z","size":126,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T23:44:13.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kscripting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-02T00:09:22.000Z","updated_at":"2023-02-07T12:39:27.000Z","dependencies_parsed_at":"2022-09-26T21:41:14.341Z","dependency_job_id":null,"html_url":"https://github.com/kscripting/kscript-annotations","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kscripting%2Fkscript-annotations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kscripting%2Fkscript-annotations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kscripting%2Fkscript-annotations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kscripting%2Fkscript-annotations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kscripting","download_url":"https://codeload.github.com/kscripting/kscript-annotations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497891,"owners_count":21113983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-11T23:44:15.595Z","updated_at":"2025-04-11T23:44:16.231Z","avatar_url":"https://github.com/kscripting.png","language":"Kotlin","readme":"# Annotation directives for `kscript`\n\nFor details see https://github.com/kscripting/kscript\n\nCurrent version: `1.5` (MavenCentral)\n\n## How to use?\n\nSimply change your gradle dependencies to include:\n\n```\nimplementation 'com.github.holgerbrandl:kscript-annotations:1.5'\n```\n\n## Example\n\n```kotlin\n#!/usr/bin/env kscript\n\n@file:DependsOn(\"de.mpicbg.scicomp:kutils:0.4\")\n@file:DependsOn(\"com.beust:klaxon:0.24\", \"com.github.kittinunf.fuel:fuel:1.3.1\")\n\n\n@file:Import(\"util.kt\")\n\n@file:EntryPoint(\"Foo.bar\") // applies on for kt-files\n\n// define kotlin options\n@file:KotlinOptions(\"-J-Xmx5g\")\n@file:KotlinOptions(\"-J-server\")\n\n\nprint(\"1+1\")\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkscripting%2Fkscript-annotations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkscripting%2Fkscript-annotations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkscripting%2Fkscript-annotations/lists"}