Skip to content

Commit e9c6174

Browse files
authored
Merge pull request #41 from mipt-npm/dev
Dev
2 parents e8a301b + 526faf3 commit e9c6174

19 files changed

+466
-342
lines changed

CHANGELOG.md

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99
### Added
10-
- html builders for readme
1110

1211
### Changed
13-
- Kotlin 1.6.0
14-
- Use indy lambdas by default #32
12+
- Separate release tasks for each target
1513

1614
### Deprecated
1715

1816
### Removed
1917

2018
### Fixed
21-
- remove `nativeMain` dependency from `nativeTest`
2219

2320
### Security
2421

25-
## [0.10.4]
22+
## [0.11.1-kotlin-1.6.10]
2623
### Added
24+
- Default templates for README and ARTIFACT
2725

2826
### Changed
29-
- Kotlin 1.6
30-
27+
- Replaced Groovy templates by FreeMarker
3128

3229
### Deprecated
3330

3431
### Removed
3532

3633
### Fixed
37-
- Some issues with opt-ins
38-
34+
- JS publication sources jar
3935

4036
### Security
4137

38+
## [0.10.9-kotlin-1.6.10]
39+
### Added
40+
- html builders for readme
41+
42+
### Changed
43+
- Kotlin 1.6.0
44+
- Use indy lambdas by default #32
45+
- Change version scheme to `<version>-kotlin-<kotlin version>`
46+
47+
### Fixed
48+
- remove `nativeMain` dependency from `nativeTest`
49+
50+
## [0.10.4]
51+
### Changed
52+
- Kotlin 1.6
53+
54+
### Fixed
55+
- Some issues with opt-ins
56+
4257
## [0.10.2]
4358
### Added
4459
- Experimental automatic JS project bundling in MPP
4560

46-
4761
### Changed
4862
- Remove vcs requirement for Space publication
4963

50-
5164
### Fixed
5265
-Release task (#19)
5366

@@ -57,12 +70,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5770
- BOM for kotlin-wrappers on JS
5871
- Jupyter loader
5972

60-
6173
### Changed
6274
- API validation disabled for dev versions
6375
- Kotlin plugins are propagated downstream
6476

65-
6677
### Removed
6778
- bson support
6879

@@ -71,35 +82,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7182
- Disable API validation for snapshots
7283
- `-Xjvm-default=all` on JVM
7384

74-
7585
### Changed
7686
- `publication.platform` changed to `publishing.platform`
7787
- Dokka version to `1.4.30`
7888
- `useDateTime` in extension
7989
- Kotlin 1.5
8090

81-
8291
### Removed
8392
- Publish plugin. Use MavenPublish instead
8493

85-
8694
### Fixed
8795
- Removed unnecessary `afterEvaluate` for compatibility with gradle 7.0
8896

8997
## [0.9.0]
9098
### Added
9199
- Skip sonatype publishing for dev versions
92100

93-
94101
### Changed
95102
- Publishing repositories are explicit and defined in the top level project
96103
- Paths to publishing properties now use dot notation like `publishing.github.user`
97104

98-
99105
### Deprecated
100106
- Publishing plugin
101107

102-
103108
### Removed
104109
- Bintray publishing
105110

@@ -108,12 +113,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
108113
- Adaptive support for host OS in native
109114
- CSS support for JS targets
110115

111-
112116
### Changed
113117
- Kotlin 1.4.31
114118
- Coroutines 1.4.3
115119

116-
117120
### Fixed
118121
- Plugin loading order for publishing
119122
- Release task
@@ -125,19 +128,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
125128
- Add sonatype publishing
126129
- Per-platform release publishing
127130

128-
129131
### Changed
130132
- Kotlin to 1.4.30 stable.
131133
- Added intermediate jsCommon main/test sourcesSet for node plugin.
132134
- Plugin names changed to `ru.mipt.npm` package.
133135
- Common plugin id changed to `common`
134136
- Plugins group changed to `ru.mipt.npm` with `gradle` prefix
135137

136-
137138
### Removed
138139
- kaml
139140

140-
141141
### Fixed
142142
- Fix publishing load order for sonatype
143143
- Fix root project readme
@@ -151,7 +151,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
151151
- Moved all logic to a common plugin, leaving only proxies for platform plugins
152152
- Suppress API validation for modules with maturity below DEVELOPMENT
153153

154-
155154
### Changed
156155
- Remove node plugin. Node binaries should be turned on manually.
157156
- Use default webpack distribution path.
@@ -162,12 +161,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
162161
- Moved internals to internals
163162
- Kotlin 1.4.30-RC
164163

165-
166164
### Deprecated
167165
- Support of `kaml` and `snake-yaml` in favor of `yamlKt`
168166
- Publish plugin
169167

170-
171168
### Removed
172169
- `useDokka` method. Documentation jar should be added manually if needed.
173170

@@ -178,7 +175,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
178175
- Add `application()` toggle in plugin configuration to produce binaries on JS and applicaion plugin on jvm.
179176
- Add `publish` to expose publishing configuration.
180177

181-
182178
### Changed
183179
-Publishing in bintray now is automatic.
184180

build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ dependencies {
3333
implementation(libs.dokka.gradle)
3434
implementation(libs.kotlin.jupyter.gradle)
3535
implementation(libs.kotlin.serialization)
36-
@Suppress("UnstableApiUsage")
3736
implementation(libs.kotlinx.html)
3837
implementation("org.tomlj:tomlj:1.0.0")
3938
// // nexus publishing plugin
4039
// implementation("io.github.gradle-nexus:publish-plugin:1.1.0")
4140

41+
implementation("org.freemarker:freemarker:2.3.31")
42+
4243
testImplementation(kotlin("test"))
4344
}
4445

@@ -58,7 +59,7 @@ gradlePlugin {
5859

5960
create("project") {
6061
id = "ru.mipt.npm.gradle.project"
61-
description = "The root plugin for multimodule project infrastructure"
62+
description = "The root plugin for multi-module project infrastructure"
6263
implementationClass = "ru.mipt.npm.gradle.KScienceProjectPlugin"
6364
}
6465

@@ -122,7 +123,7 @@ afterEvaluate {
122123
publications {
123124
create<MavenPublication>("catalog") {
124125
from(components["versionCatalog"])
125-
this.artifactId = "version-catalog"
126+
artifactId = "version-catalog"
126127

127128
pom {
128129
name.set("version-catalog")
@@ -134,6 +135,7 @@ afterEvaluate {
134135
artifact(javadocsJar)
135136

136137
pom {
138+
name.set(project.name)
137139
description.set(project.description)
138140
url.set(vcs)
139141

@@ -212,6 +214,10 @@ afterEvaluate {
212214
}
213215
}
214216

217+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
218+
kotlinOptions.jvmTarget = "11"
219+
}
220+
215221
tasks.processResources.configure {
216222
duplicatesStrategy = DuplicatesStrategy.INCLUDE
217223
from("gradle/libs.versions.toml")

gradle/libs.versions.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
[versions]
2-
tools = "0.10.7"
3-
kotlin = "1.6.0"
4-
atomicfu = "0.16.3"
2+
tools = "0.11.2-kotlin-1.6.10"
3+
kotlin = "1.6.10"
4+
atomicfu = "0.17.1"
55
binary-compatibility-validator = "0.8.0"
66
changelog = "1.3.1"
7-
dokka = "1.5.30"
8-
kotlin-jupyter = "0.10.3-36"
9-
kotlinx-benchmark = "0.3.1"
10-
kotlinx-cli = "0.3.3"
11-
kotlinx-collections-immutable = "0.3.4"
12-
kotlinx-coroutines = "1.5.2"
13-
kotlinx-datetime = "0.3.1"
7+
dokka = "1.6.10"
8+
kotlin-jupyter = "0.11.0-62"
9+
kotlinx-benchmark = "0.4.2"
10+
kotlinx-cli = "0.3.4"
11+
kotlinx-collections-immutable = "0.3.5"
12+
kotlinx-coroutines = "1.6.0"
13+
kotlinx-datetime = "0.3.2"
1414
kotlinx-html = "0.7.3"
15-
kotlinx-knit = "0.2.3"
15+
kotlinx-knit = "0.3.0"
1616
kotlinx-nodejs = "0.0.7"
17-
kotlinx-serialization = "1.3.1"
18-
ktor = "1.6.3"
19-
xmlutil = "0.83.0"
17+
kotlinx-serialization = "1.3.2"
18+
ktor = "1.6.7"
19+
xmlutil = "0.84.0"
2020
yamlkt = "0.10.2"
21-
jsBom = "0.0.1-pre.265-kotlin-1.5.31"
22-
junit = "5.8.1"
21+
jsBom = "0.0.1-pre.313-kotlin-1.6.10"
22+
junit = "5.8.2"
2323

2424
[libraries]
2525
atomicfu-gradle = { module = "org.jetbrains.kotlinx:atomicfu-gradle-plugin", version.ref = "atomicfu" }

gradle/wrapper/gradle-wrapper.jar

285 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
rootProject.name = "gradle-tools"
2-
3-
enableFeaturePreview("VERSION_CATALOGS")

0 commit comments

Comments
 (0)