forked from ktorio/ktor-plugin-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.ktor.yaml
63 lines (63 loc) · 2.28 KB
/
manifest.ktor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Shown in list
name: Plugin Name
# Shown in list, below title
description: Short description
vcsLink: https://github.com/link/to/repository
license: Apache 2.0
# Pick one of: Administration, Databases, HTTP, Monitoring, Routing, Security, Serialization, Sockets, Templating
category: Routing
# Plugin ID references which are required for this
prerequisites:
- other.plugin.id
# Documentation can either be a file reference or string
# Optional, defaults to documentation.md
documentation: documentation.md
# Formatted options shown at the bottom of documentation.
# Optional, defaults to empty
options:
- name: option1
default: some_value
description: defines the first option
# Additional instructions for gradle.
# Optional
gradle:
# Required gradle plugins
plugins:
- id: com.example.plugin
version: 7.0.1
# Required repositories for the plugin artifacts
# YOU MUST ALSO include a line in buildSrc/src/main/kotlin/io/ktor/plugins/registry/Repositories.kt
repositories:
- url: https://maven.repository.org/p/example
# Additional instructions for maven install
# Optional
maven:
# Required maven plugins
plugins:
- group: com.example
artifact: plugin
version: 7.0.1
extra: |-
<extra>
<info>example</info>
</extra>
# Required repositories for maven - note the extra "id"
repositories:
- id: example_repo
url: https://maven.repository.org/p/example
# (location, kotlin) pairs, where "location" is a pre-defined injection point, and "kotlin" is either a path or inline code
# options for "location" include:
# - default: placed in the *category*'s install file
# - in_routing: underneath the `routing` configuration
# - application_conf: in the application.conf file
# - application_yaml: in the application.yaml file
# - inside_app: add snippet to the application
# - outside_app: top-level of main kotlin file, outside application scope
# - call_logging_config: inside the call logging configuration block
# - serialization_config: inside the serialization configuration block
# - source_file_kt: in a separate file
# - test_function: adds a function to the test suite
# - resources: adds a file to the project's resources
# Optional, defaults to "default: install.kt"
installation:
default: install.kt