You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use a separate Knit tool version 0.1.2
* Hierarchical knit.properties files are introduced which are
gathered while walking up the directory tree with the properties
in knit resources being top-level ones.
* Freemarker templates for "knit.include" (top-level of example files)
and "test.template" (test template) are introduced with locations that
are resolved from properties.
* KNIT and TEST_OUT directives are not supported anymore.
- Knitting is controlled by "knit.dir" and "knit.pattern" props.
- "test.name" prop or TEST_NAME directive drives test gen.
* All markdown files are now clean of top-level knit-related boilerplate
(only TEST_NAME directive is remaining in some)
* All example files are renumbered. It affects example-basic-xx,
which had the legacy numbering with later insertions.
* All auto-generated files now have the correct source-file name
specified at their beginning, due to consistent use of template
substitution.
* No need to customize knit.pattern anymore (works out-of-the box)
* "knit.name" is automatically generated based on example's file name
"example-basic-01" -> "exampleBasic01"
* Not match-pattern-group woodoo anymore, "knit.pattern" cannot have any
user-defined match groups.
* No need to look for "package xxx" in knitted sources, as the
example's package is always ${knit.package}.${knit.name}
* Simpler test names:
testKotlinxCoroutinesGuideBasic01 -> testExampleBasic01
* Replaced END_TOC with END directive
* Build-scripts are improved:
- Consistent code to use mavenLocal when snapshots versions are used.
- Proper substitution logic to use Android AAR files so that Dokka has correct links to Google APIs.
- Google repository is added to all projects.
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,12 @@ The `develop` branch is pushed to `master` during release.
217
217
218
218
* Full release procedure checklist is [here](RELEASE.md).
219
219
* Steps for contributing new integration modules are explained [here](integration/README.md#Contributing).
220
+
* Use [Knit](https://github.com/Kotlin/kotlinx-knit/blob/master/README.md) for updates to documentation:
221
+
* In project root directory run `./gradlew knit`.
222
+
* Commit updated documents and examples together with other changes.
223
+
* Use [Binary Compatibility Validator](https://github.com/Kotlin/binary-compatibility-validator/blob/master/README.md) for updates to public API:
224
+
* In project root directory run `./gradlew apiDump`.
225
+
* Commit updated API index together with other changes.
Copy file name to clipboardExpand all lines: docs/compatibility.md
+1-7
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,3 @@
1
-
<!---
2
-
/*
3
-
* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
4
-
*/
5
-
--->
6
-
7
1
<!--- TOC -->
8
2
9
3
*[Compatibility](#compatibility)
@@ -19,7 +13,7 @@
19
13
*[Gradle](#gradle)
20
14
*[Maven](#maven)
21
15
22
-
<!--- END_TOC-->
16
+
<!--- END-->
23
17
24
18
## Compatibility
25
19
This document describes the compatibility policy of `kotlinx.coroutines` library since version 1.0.0 and semantics of compatibility-specific annotations.
0 commit comments