Compare commits

..

204 Commits

Author SHA1 Message Date
36dae25531 Merge pull request '0.15.8-kotlin-2.1.0' (!51) from dev into master
Reviewed-on: #51
2024-12-09 09:49:36 +03:00
a6a1ed4102 Migrate to new central publish 2024-12-09 09:47:28 +03:00
2e1f3876af Migrate to new central publish 2024-12-09 09:22:00 +03:00
0dc3458176 fix dokka 2024-12-09 07:51:17 +03:00
c951123fde Merge branch 'beta/2.1.0' into dev
# Conflicts:
#	gradle/libs.versions.toml
2024-12-09 07:45:02 +03:00
b507cb0536 version update
Ktor -> 3.0
Compose -> 1.7
2024-12-09 07:43:23 +03:00
558fd695b9 beta/2.1.0 2024-09-22 17:52:08 +03:00
37e5603389 Add readme task validation 2024-08-26 16:40:46 +03:00
5c7dc3c729 Kotlin 2.0.20 + JDK 17 + versions update 2024-08-26 10:21:27 +03:00
d6276e0ca0 update versions 2024-07-25 10:08:06 +03:00
2bd93104d6 Return optins 2024-07-25 09:56:40 +03:00
91a82153fd Kotlin 2.0.20-Beta2.
Add KSP
2024-07-25 09:48:40 +03:00
53517859d4 fix pom organization 2024-06-24 16:58:16 +03:00
d93b0a578f 0.15.4-2.0.0 2024-06-04 12:52:49 +03:00
43dcf509fb 0.15.4-2.0.0 2024-06-04 12:49:18 +03:00
ec3e3e3376 2.0.0 2024-05-25 21:50:51 +03:00
46be46461b Merge branch 'refs/heads/beta/2.0.0' into dev
# Conflicts:
#	gradle/libs.versions.toml
2024-05-22 21:25:12 +03:00
fbdb3e0da9 Update to 2.0.0 2024-05-22 21:24:37 +03:00
e55e296ab0 2.0.0-RC2 2024-04-30 19:41:05 +03:00
329d023438 2.0.0-RC1 2024-04-20 12:08:18 +03:00
cb1c6d79a7 2.0.0-RC1 2024-04-20 09:19:11 +03:00
93d881c9a4 2.0.0-beta-4 2024-03-18 09:20:09 +03:00
2da966b1cd Kotlin 1.9.22 2024-02-10 12:30:36 +03:00
d79453371e Kotlin 1.9.22 2024-02-04 18:59:17 +03:00
6cd7b572d6 Kotlin 2.0.0-Beta2 2023-12-17 11:07:27 +03:00
3a150eff69 Merge branch 'dev' into beta/2.0.0
# Conflicts:
#	gradle/libs.versions.toml
2023-12-17 10:32:10 +03:00
920385e135 Add wasm essentials 2023-12-05 15:11:22 +03:00
71f7698633 kotlin 1.9.21 2023-11-26 09:32:31 +03:00
ed5faa0335 kotlin 2.0.0-Beta1 2023-11-21 11:22:40 +03:00
7636f37cfc add foojay resolver 2023-11-01 20:15:18 +03:00
b5772a2e9b Replace Chrom canary with chrome for wasm tests 2023-11-01 09:03:49 +03:00
dba45860f7 Finalization for 1.9.20 2023-10-31 13:59:09 +03:00
90762f493e Update to 1.9.20-RC2 2023-10-25 08:44:47 +03:00
54952c3da6 Update to 1.9.20-RC. Fix warnings 2023-10-18 11:27:37 +03:00
89af2dd644 bump version 2023-09-22 08:43:01 +03:00
b27624bf1c remove Js plugin and deprecated JVM 2023-09-13 12:12:46 +03:00
4f41d90308 Update changelog and version 2023-09-13 08:52:23 +03:00
33b6de9f0e Change plugin deploy logic 2023-09-12 21:19:05 +03:00
2f5e053aea Change publishing logic. Adjust to adhere to gradle 8.3 changes. 2023-09-12 21:04:29 +03:00
c3bdd8edca update versions 2023-09-12 08:48:25 +03:00
c249dc5ae4 1.9.0 2023-08-21 18:26:17 +03:00
8a864f97a3 1.9.0 2023-07-07 21:44:38 +03:00
72f2678f3d Merge branch 'beta/1.9.0' into dev 2023-07-07 11:29:11 +03:00
8272c4ae4d 1.9.0-RC 2023-06-22 20:28:21 +03:00
a62503ac41 add debelopment mode for fullstack 2023-06-09 17:22:36 +03:00
5463c9326b Add gc to wasm 2023-06-07 15:14:13 +03:00
4238dc5a43 kotlin 1.9.0-Beta 2023-06-02 13:40:59 +03:00
021f78c510 0.14.9 - fix duplicating JS source code publication 2023-05-29 12:58:19 +03:00
b05617ce9a 0.14.8 2023-05-26 09:18:59 +03:00
70c190d7fa Fix wasm target configuration 2023-04-16 13:51:38 +03:00
d3432643e8 Update dependencies. Make optional configuraion for sonatype repo 2023-04-05 15:28:46 +03:00
512954b510 Update dependencies. Make optional configuraion for sonatype repo 2023-04-05 13:55:32 +03:00
9fc8d96e88 Fixed macosArm64 target 2023-03-22 18:15:35 +03:00
2e3b74eb63 update dokka version 2023-03-22 11:14:05 +03:00
2886b7b200 Relax publishing rules. Add a way to regulate publishing targets from parameters 2023-03-22 10:45:09 +03:00
4106fe27a9 Patch changelog 2023-03-12 13:00:21 +03:00
b7c0d808b7 Fix dokka publishing 2023-03-12 12:58:50 +03:00
e535fdc6f5 Fix publishing for gradle 8 2023-03-12 12:15:20 +03:00
d0079ba307 Make selective native targets... again 2023-02-26 22:03:57 +03:00
a6755e33f5 Fix repositories handling 2023-02-26 21:00:42 +03:00
185b5514c3 Roll back serialization version for compatibility 2023-02-18 18:56:15 +03:00
1e3018275d Customizeable jdk version 2023-02-12 11:32:46 +03:00
4bfd042f96 Kotlin 1.8.20-Beta 2023-02-11 14:28:45 +03:00
979e819c9a Update changelog 2023-02-03 19:30:32 +03:00
1b179e0b05 Easier dependency handling for kscience 2023-02-03 19:28:29 +03:00
a78a4f6118 Use kotlin 1.8.10 2023-02-03 14:11:03 +03:00
a26c7f6df0 Make target configuration optional 2023-02-03 13:15:17 +03:00
99e3e1ea85 Make signing optional 2023-02-03 13:12:10 +03:00
b4fb5c515a Move to manual target configuration 2023-02-03 13:00:11 +03:00
54e862681f Show only modules with a readme extension in main readme 2023-01-12 11:20:03 +03:00
e2a342751d 1.8.0 2022-12-31 12:32:53 +03:00
6de53f5c0a
Merge remote-tracking branch 'space/dev' into dev 2022-11-23 12:28:17 +03:00
a46ca7ddb8
1.8.0-Beta 2022-11-18 11:55:36 +03:00
SPC-code
26a31ed771
Merge pull request #50 from SciProgCentre/commandertvis/fix-ios
Fix a wrong iOS target
2022-11-06 15:09:55 +03:00
Iaroslav Postovalov
680719ac56
Fix a wrong iOS target 2022-11-06 13:05:36 +04:00
c9440e7fc9
Merge remote-tracking branch 'space/dev' into dev 2022-11-02 18:34:40 +03:00
0e06801d5f
Update versions 2022-11-02 18:34:17 +03:00
Iaroslav Postovalov
b4b66a101d Support two more Apple targets 2022-10-22 23:42:30 +04:00
8b14d5bed5
Update sonatype repo 2022-10-22 18:46:30 +03:00
b541fde58a
Revert back to single maven repo structure 2022-10-05 12:14:33 +03:00
a27c1953b3
Move to Kotlin 1.7.20 2022-10-04 20:41:20 +03:00
8a2c0b6e7d
Move to Kotlin 1.7.20 2022-10-04 18:42:21 +03:00
5d3eeaeeee
Move to Kotlin 1.7.20 2022-10-04 14:00:47 +03:00
5dacf9c9d6
Remove old plugins make native configurable inside kscience block. 2022-09-04 20:46:25 +03:00
b4f494e58a
Revert native plugin configuration 2022-08-24 19:02:19 +03:00
8df651bead
Warn on native plugin usage 2022-08-24 18:53:21 +03:00
c77f74c94b
Github org and project switch places 2022-08-24 18:42:36 +03:00
362d7a4042
Remove jdk-release 2022-08-24 18:24:02 +03:00
187b8e8076
Add public dev flag 2022-08-23 16:55:08 +03:00
aafcb06a1e
manual pom config 2022-08-23 16:31:44 +03:00
5d0324bc7b
Universal native configuration 2022-08-20 19:42:19 +03:00
f6e27eebdd
Migrate to new package and Kotlin 1.7.20-Beta 2022-07-29 14:46:22 +03:00
1c80eeb2c7
Try to catch project version 2022-07-10 13:39:35 +03:00
3565a03d57
Update deploy script 2022-07-10 12:58:51 +03:00
adfd6641cc
Update deploy script 2022-07-10 12:42:14 +03:00
a5618726bf update publishing script 2022-07-10 09:01:20 +00:00
Alexander Nozik
7d130dbecb
Merge pull request #47 from mipt-npm/dev
0.11.8 up versions
2022-07-10 11:55:28 +03:00
0f1e42ab36 Merge SCI-MR-159: add deploy script 2022-07-10 08:49:01 +00:00
be1767f090
0.11.8 up versions 2022-07-10 11:46:20 +03:00
c236320855 Merge MIPT-NPM-MR-26: 0.11.8-kotlin-1.7.10 2022-07-10 08:36:03 +00:00
97b0aa9d02
0.11.8 up versions 2022-07-10 10:25:52 +03:00
64b15356e7
Up version 2022-06-14 19:22:49 +03:00
Alexander Nozik
2665d208b1
Merge pull request #46 from mipt-npm/dev
Fix coroutines issue
2022-06-12 14:47:33 +03:00
f283d4d454
Fix coroutines issue 2022-06-12 14:46:28 +03:00
Alexander Nozik
39c7ac024f
Merge pull request #45 from mipt-npm/dev
0.11.6
2022-06-12 11:19:29 +03:00
89bc45cd1c
patch changelog 2022-06-12 11:18:02 +03:00
0ba70aba5c
0.11.6. Remove atomicfu from the plugin 2022-06-12 11:15:11 +03:00
0bea2d34a5
roll back atomicfu to 0.17.2 2022-06-12 10:44:03 +03:00
af891a2149
remove kotlin-jvm plugin from build 2022-06-10 20:18:00 +03:00
Alexander Nozik
53c399d542
Merge pull request #44 from mipt-npm/dev
0.11.5-kotlin-1.7.0
2022-06-09 19:44:46 +03:00
8ba91f805e
Patch changelog 2022-06-09 19:44:30 +03:00
19f3d1ba5d
Update versions 2022-06-09 19:41:46 +03:00
90880fc10f
To Kotlin 1.7.0 2022-06-09 19:38:15 +03:00
eed0f274c7
Fix explicit api application 2022-05-17 10:13:17 +03:00
e3ecfb54c9
Remove context receivers by default. 2022-05-15 12:59:49 +03:00
6526a486f9
Explicit API relaxation 2022-04-19 10:44:44 +03:00
07bde0e593
Merge remote-tracking branch 'origin/dev' into dev 2022-04-13 16:47:13 +03:00
368ed94c52
0.11.4 2022-04-13 16:47:00 +03:00
Alexander Nozik
277ab651f8
Merge pull request #43 from mipt-npm/dev
Update publish.yml
2022-04-12 12:12:27 +03:00
Alexander Nozik
a9b35eb466
Update publish.yml 2022-04-12 12:12:11 +03:00
Alexander Nozik
3d843210ea
Merge pull request #42 from mipt-npm/dev
0.11.3
2022-04-12 10:52:59 +03:00
Alexander Nozik
6d5a29567d
Merge branch 'master' into dev 2022-04-12 10:52:49 +03:00
6e9ef8326b
Merge remote-tracking branch 'origin/master' into dev 2022-04-12 10:51:56 +03:00
027a00a486
0.11.3 2022-04-10 10:48:02 +03:00
96dff3f3ee
Merge remote-tracking branch 'origin/dev' into dev 2022-04-10 09:56:07 +03:00
Alexander Nozik
4891b1f469
Merge pull request #40 from mipt-npm/commandertvis/ga
Write GitHub Actions scripts
2022-03-16 11:31:43 +03:00
Iaroslav Postovalov
b150fd5fd3
Use standard workflow actions for Java, Gradle 2022-03-16 02:31:44 +07:00
Alexander Nozik
e9c6174645
Merge pull request #41 from mipt-npm/dev
Dev
2022-03-15 13:06:15 +03:00
e1a11452d2
Update release task generation 2022-03-15 13:03:32 +03:00
Iaroslav Postovalov
22e6657e79
Write GitHub Actions scripts 2022-03-10 22:34:02 +07:00
Iaroslav Postovalov
66564457ff Merge branch 'master' into commandertvis/ga 2022-03-10 22:18:48 +07:00
Iaroslav Postovalov
e8a301b4d1
Create publish.yml 2022-03-10 22:17:00 +07:00
526faf33eb
separate release tasks 2022-03-08 23:22:03 +03:00
Alexander Nozik
69676b8521
Merge pull request #39 from mipt-npm/commandertvis/ios
Rework registration of release tasks
2022-03-08 21:49:40 +03:00
Iaroslav Postovalov
572cbce67f Rework registration of release tasks 2022-03-09 00:51:00 +07:00
Alexander Nozik
778e4875d2
Merge pull request #38 from mipt-npm/commandertvis/ios
Fix suffix removal for release task
2022-03-08 12:09:04 +03:00
Iaroslav Postovalov
25c1c45818 Fix suffix removal for release task 2022-03-08 16:04:18 +07:00
Alexander Nozik
acb13abc6e
Merge pull request #37 from mipt-npm/commandertvis/ios
Update Gradle, make multiple release tasks for each platform instead of passing a property
2022-03-08 10:14:47 +03:00
Iaroslav Postovalov
137299b615 Do not store release tasks 2022-03-07 20:53:12 +07:00
iliamikulik
dd5a9f75c4 add iosX64 and iosArm64 targets to native targets 2022-03-07 20:44:38 +07:00
Iaroslav Postovalov
74b38c62ef Update Gradle, make multiple release tasks for each platform instead of passing a property 2022-03-07 20:44:28 +07:00
Alexander Nozik
63600f9ebb
Merge pull request #35 from mipt-npm/commandertvis/versions
Upgrade versions in the catalog
2022-01-25 14:03:05 +03:00
Iaroslav Postovalov
1ee0e7ab41 Upgrade versions in the catalog 2022-01-24 17:14:21 +07:00
7a9cf427f7
0.11.1-kotlin-1.6.10 2022-01-23 15:51:34 +03:00
63106cd3aa
0.11.0-kotlin-1.6.10 2022-01-23 14:37:19 +03:00
dae2dfcde7
0.10.9-kotlin-1.6.10 2021-12-29 11:18:41 +03:00
820664a74b Add blank jupyter integration 2021-12-19 11:43:13 +03:00
7d16d0f5c7
pre-0.10.8 2021-12-12 12:23:29 +03:00
Iaroslav Postovalov
0ba835925e Update the version catalog 2021-11-27 01:26:29 +07:00
Alexander Nozik
59c2a13e4b
Merge pull request #33 from mipt-npm/dev
0.10.7
2021-11-16 12:31:41 +03:00
b5270617fc 0.10.7 with kotlin 1.6 and indy lambdas 2021-11-16 12:19:03 +03:00
5b88c2c5ad 0.10.6 with kotlin 1.6-RC2 2021-11-04 12:59:13 +03:00
Alexander Nozik
d911842922
Merge pull request #31 from mipt-npm/dev
Fix duplicating native dependency
2021-10-11 14:41:52 +03:00
e007ac9c7a Fix duplicating native dependency 2021-10-11 14:25:02 +03:00
Alexander Nozik
a915d2256d
Merge pull request #30 from mipt-npm/dev
Dev
2021-09-28 12:15:54 +03:00
54274f0c0d Return sonatype publication for the plugin 2021-09-28 12:15:13 +03:00
1c37a165c2 patch CHANGELOG.md 2021-09-28 12:12:28 +03:00
931d69ec1d 0.10.4 2021-09-28 12:12:03 +03:00
680bd9ed33 Fix language settings 2021-09-27 20:18:38 +03:00
0415ed30d5 Language version 1.6 2021-09-20 21:49:05 +03:00
8410e7e498 Fix optin 2021-09-20 20:24:44 +03:00
138ee1cfea fix import 2021-09-14 14:05:52 +03:00
db9b4dec50 Fix plugin resolution 2021-09-13 22:49:41 +03:00
878405ac6a Replace useJupyter with jupyterLibrary 2021-09-12 22:06:08 +03:00
6fa4b264a2 Fix inner use of version catalog 2021-09-12 19:32:35 +03:00
Alexander Nozik
f67f1bf4f0
Merge pull request #26 from mipt-npm/commandertvis/version-catalog
Publish a version catalog
2021-09-12 11:12:38 +03:00
Alexander Nozik
e586d20c91
Merge branch 'dev' into commandertvis/version-catalog 2021-09-12 11:12:27 +03:00
dd3d95dba4 version update 2021-09-12 11:10:50 +03:00
Alexander Nozik
2a6c88636b
Merge pull request #25 from mipt-npm/commandertvis/dokka-task
Make all `AbstractDokkaTask` depend on `generateReadme`
2021-09-12 10:31:30 +03:00
Alexander Nozik
c8edc513f1
Merge pull request #28 from mipt-npm/commandertvis/fix-publish
Refactor: explicit API, publishing extension, code style
2021-09-12 10:09:32 +03:00
Iaroslav Postovalov
02d2971b79 Refactor: explicit API, publishing extension, code style 2021-08-25 21:04:59 +07:00
Iaroslav Postovalov
dc2ff2efb3 Publish a version catalog 2021-08-17 22:04:56 +07:00
Iaroslav Postovalov
4f49e24d61 Make all AbstractDokkaTask depend on generateReadme 2021-08-07 09:43:11 +07:00
Alexander Nozik
c227258e09
Merge pull request #24 from mipt-npm/commandertvis/version-catalog
Fix typo
2021-08-06 10:36:43 +03:00
Iaroslav Postovalov
3fa500f451 Fix typo 2021-08-06 14:28:00 +07:00
Iaroslav Postovalov
852158c665 Fix dependencies of release task 2021-08-06 13:51:09 +07:00
Alexander Nozik
b751e79a8a
Merge pull request #23 from mipt-npm/commandertvis/version-catalog
Use version catalog
2021-08-06 09:34:45 +03:00
Iaroslav Postovalov
970b9ad581 Use version catalog 2021-08-06 09:41:29 +07:00
Alexander Nozik
bb573291dd
Update README.md
Add maven central badge
2021-07-21 13:17:50 +03:00
Alexander Nozik
4768874bb5
Merge pull request #20 from mipt-npm/dev
0.10.2
2021-07-21 13:15:48 +03:00
100f7cd55f 0.10.2 2021-07-21 13:01:29 +03:00
Alexander Nozik
252a633583
Merge pull request #19 from mipt-npm/commandertvis/fix-release
Fix dependencies of release task
2021-07-21 12:31:22 +03:00
Iaroslav Postovalov
b70037385c Fix dependencies of release task 2021-07-21 03:46:04 +07:00
f11d47aee5 versions update 2021-07-15 12:14:42 +03:00
4eeb81cdbb versions update 2021-07-14 12:25:20 +03:00
2ad0630b7b versions update 2021-07-14 12:05:49 +03:00
Alexander Nozik
8fe085c4bd
Merge pull request #16 from mipt-npm/dev
0.10.0
2021-06-19 14:12:34 +03:00
663f2ea630 update readme 2021-06-19 14:10:40 +03:00
35e01abf93 v0.10.0 2021-06-19 14:09:57 +03:00
Alexander Nozik
000bc1e986
Merge pull request #15 from mipt-npm/commandertvis/property
Publish a function to add dynamic readme properties
2021-06-19 10:52:34 +03:00
Iaroslav Postovalov
19a604f3b3 Publish a function to add dynamic readme properties 2021-06-15 03:25:35 +07:00
670a4ca71e Fix publishing for js 2021-06-04 19:02:25 +03:00
329bfa5881 Fix publishing for js 2021-06-04 18:50:20 +03:00
24af07eb7b Update kotlin to 1.5.10 2021-06-04 18:22:34 +03:00
5cd86474de Update kotlin to 1.5.10 2021-06-04 18:21:12 +03:00
ddbb128692 Fix snapshot detection 2021-05-21 16:11:48 +03:00
357e4c03be bump version 2021-05-21 10:11:58 +03:00
e44bf118dc Fix dependency loading 2021-05-21 10:05:46 +03:00
e0d331d4d4 Fix publication task dependency 2021-05-19 15:24:24 +03:00
c5b8c688a2 API validation disabled for dev versions 2021-05-18 15:07:50 +03:00
023ca7b80c adjust release publishing 2021-05-18 12:16:33 +03:00
5ff90436f5 update coroutines version 2021-05-14 20:10:07 +03:00
ba4548b3d7 Fix publishing for generic plugins 2021-05-14 12:53:57 +03:00
a221951197 0.9.6 2021-05-08 13:57:46 +03:00
41 changed files with 2242 additions and 1568 deletions

21
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Gradle build
on:
push:
branches: [ dev, master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2.5.0
with:
java-version: 11
distribution: liberica
- uses: gradle/gradle-build-action@v2
with:
arguments: build

24
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Gradle publish
on:
workflow_dispatch:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2.5.0
with:
java-version: 11
distribution: liberica
- uses: gradle/gradle-build-action@v2
with:
arguments: |
publishAllPublicationsToSpaceRepository
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}

43
.space.kts Normal file
View File

@ -0,0 +1,43 @@
import kotlin.io.path.readText
job("Build") {
gradlew("openjdk:11", "build")
}
job("Publish"){
startOn {
gitPush { enabled = false }
}
container("openjdk:11") {
env["SPACE_USER"] = Secrets("space_user")
env["SPACE_TOKEN"] = Secrets("space_token")
kotlinScript { api ->
val spaceUser = System.getenv("SPACE_USER")
val spaceToken = System.getenv("SPACE_TOKEN")
// write version to the build directory
api.gradlew("version")
//read version from build file
val version = java.nio.file.Path.of("build/project-version.txt").readText()
api.space().projects.automation.deployments.start(
project = api.projectIdentifier(),
targetIdentifier = TargetIdentifier.Key("gradle-tools"),
version = version,
// automatically update deployment status based on a status of a job
syncWithAutomationJob = true
)
try {
api.gradlew(
"publishAllPublicationsToSpaceRepository",
"-Ppublishing.space.user=\"$spaceUser\"",
"-Ppublishing.space.token=\"$spaceToken\"",
)
} catch (ex: Exception) {
println("Publish failed")
}
}
}
}

View File

@ -1,11 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Unreleased
### Added
### Changed
@ -18,92 +18,277 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
## [0.9.5]
## 0.15.4-kotlin-2.0.0 - 2024-06-04
### Added
- Pass `compose` extension to the kscience extension so compose dependencies could be called directly from kscience block
### Changed
- Use ES6 modules by default in JS
- Kotlin 2.0
## 0.15.2-kotlin-1.9.22 - 2024-02-09
### Added
- Add development mode for fullstack.
### Changed
- Kotlin 1.9.20
- Remove publishing defaults for Space and GitHub. Now publishing repositories is configured quasi-manually. Property keys for username and tokens are generated automatically.
- All publishing targets are enabled by default. Introduce `publishing.targets` variable to regulate what is added to the module.
### Deprecated
- JVM plugin in favor of Mpp.
### Removed
- JS plugin. It is deprecated in favor of MPP.
- Unnecessary `dependsOn` for native dependencies.
- Groovy gradle dependency notation.
## 0.14.4-kotlin-1.8.20-RC - 2023-03-12
### Added
- Easier dependency handling in `kscience` block
- Customizable base jdk version
### Changed
- MPP does not use JVM and JS(IR) targets anymore. They could be turned manually via `js()`, `jvm()` or `fullStack()`
- Signing is not applied if signingId is not provided
### Removed
- FX plugins
- Unnecessary library shortcuts (html and datetime)
- deploy/release tasks
### Fixed
- Gradle 8 compatibility
- Dokka publication
- issues with test sourcesets
## 0.13.4-kotlin-1.8.0 - 2022-12-31
### Added
- Public `isInDevelopment` project flag
### Changed
- Require manual pom config for publications
- Kotlin 1.8.0
- Versions update
- Project group changed to `space.kscience`
- Moved `yarn.lock` to `gradle` directory
### Deprecated
- FX configuration
### Removed
- Xjdk-release flag because it is broken until https://youtrack.jetbrains.com/issue/KT-52823
- Use CSS loader in JS by default
## 0.11.6-kotlin-1.7.0
### Changed
- Coroutines tests are applied only when explicit `useCoroutines` is used.
### Removed
- Atomicfu support inside the plugin
### Fixed
- Rollback coroutines to 1.6.1
## 0.11.5-kotlin-1.7.0
### Added
- Coroutine tests as default dependency for tests
- Context receiver flag
### Changed
- Separate release tasks for each target
- Kotlin 1.7.0
- Ktor 2.0.1
- ExplicitAPI does not override existing value
### Removed
- Ktor specific artifacts from version catalog
### Fixed
- Moved signing out of sonatype block
## 0.11.1-kotlin-1.6.10
### Added
- Default templates for README and ARTIFACT
### Changed
- Replaced Groovy templates by FreeMarker
### Fixed
- JS publication sources jar
## 0.10.9-kotlin-1.6.10
### Added
- html builders for readme
### Changed
- Kotlin 1.6.0
- Use indy lambdas by default #32
- Change version scheme to `<version>-kotlin-<kotlin version>`
### Fixed
- remove `nativeMain` dependency from `nativeTest`
## 0.10.4
### Changed
- Kotlin 1.6
### Fixed
- Some issues with opt-ins
## 0.10.2
### Added
- Experimental automatic JS project bundling in MPP
### Changed
- Remove vcs requirement for Space publication
## 0.10.0
### Added
- Lazy readme properties
- BOM for kotlin-wrappers on JS
- Jupyter loader
### Changed
- API validation disabled for dev versions
- Kotlin plugins are propagated downstream
### Removed
- bson support
## 0.9.5
### Added
- Disable API validation for snapshots
- `-Xjvm-default=all` on JVM
### Changed
- `publication.platform` changed to `publishing.platform`
- Dokka version to `1.4.30`
- `useDateTime` in extension
- Kotlin 1.5
### Deprecated
### Removed
- Publish plugin. Use MavenPublish instead
### Fixed
- Removed unnecessary `afterEvaluate` for compatibility with gradle 7.0
### Security
## 0.9.0
## [0.9.0]
### Added
- Skip sonatype publishing for dev versions
### Changed
- Publishing repositories are explicit and defined in the top level project
- Paths to publishing properties now use dot notation like `publishing.github.user`
### Deprecated
- Publishing plugin
### Removed
- Bintray publishing
### Fixed
## 0.8.4
### Security
## [0.8.4]
### Added
- Adaptive support for host OS in native
- CSS support for JS targets
### Changed
- Kotlin 1.4.31
- Coroutines 1.4.3
### Deprecated
### Removed
### Fixed
- Plugin loading order for publishing
- Release task
- Readme generation for multi-module project
### Security
## 0.8.1
## [0.8.1]
### Added
- Ktor version to versions
- Add sonatype publishing
- Per-platform release publishing
### Changed
- Kotlin to 1.4.30 stable.
- Added intermediate jsCommon main/test sourcesSet for node plugin.
- Plugin names changed to `ru.mipt.npm` package.
- Common plugin id changed to `common`
- Plugins group changed to `ru.mipt.npm` with `gradle` prefix
### Deprecated
### Removed
- kaml
### Fixed
- Fix publishing load order for sonatype
- Fix root project readme
### Security
## [0.7.4]
## 0.7.4
### Added
- Changelog plugin automatically applied to `project`.
- Feature matrix and Readme generation task for a `project` plugin.
- Add `binary-compatibility-validator` to the `project` plugin.
@ -112,6 +297,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Suppress API validation for modules with maturity below DEVELOPMENT
### Changed
- Remove node plugin. Node binaries should be turned on manually.
- Use default webpack distribution path.
- `ru.mipt.npm.base` -> `ru.mipt.npm.project`.
@ -122,28 +308,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Kotlin 1.4.30-RC
### Deprecated
- Support of `kaml` and `snake-yaml` in favor of `yamlKt`
- Publish plugin
### Removed
- `useDokka` method. Documentation jar should be added manually if needed.
### Fixed
### Security
## [0.6.0]
## 0.6.0
### Added
- Migrate to kotlin 1.4.0
- Separate Native (current platform) and nodeJs plugins.
- Add `application()` toggle in plugin configuration to produce binaries on JS and applicaion plugin on jvm.
- Add `publish` to expose publishing configuration.
### Changed
-Publishing in bintray now is automatic.
## [0.5.2]
## 0.5.2
### Added
- Copy resources for jvm modules and jvm source sets in mpp.
- Copy resources for jvm modules and jvm source sets in mpp.

View File

@ -1,29 +1,28 @@
[![Maven Central](https://img.shields.io/maven-central/v/space.kscience.gradle.project/space.kscience.gradle.project.gradle.plugin.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22space.kscience.gradle.project%22%20AND%20a:%22space.kscience.gradle.project.gradle.plugin%22)
# KScience build tools
A collection of gradle plugins for building and publish in *kscience* and *dataforge* projects.
## ru.mipt.npm.gradle.common
## space.kscience.gradle.common
A primary plugin. When used with kotlin-jvm, kotlin-js or kotlin-mulitplatform configures the project for appropriate target.
## ru.mipt.npm.gradle.project
## space.kscience.gradle.project
Root project tool including JetBrains changelog plugin an kotlin binary compatibility validator tool.
## ru.mipt.npm.gradle.publish
Enables publishing to maven-central, bintray, Space and github.
## ru.mipt.npm.gradle.mpp
`= kotlin("multiplatform") + ru.mipt.npm.gradle.common`
## space.kscience.gradle.mpp
`= kotlin("multiplatform") + space.kscience.gradle.common`
Includes JVM-IR and JS-IR-Browser targets.
## ru.mipt.npm.gradle.jvm
`= kotlin("jvm") + ru.mipt.npm.gradle.common`
## space.kscience.gradle.jvm
`= kotlin("jvm") + space.kscience.gradle.common`
## ru.mipt.npm.gradle.js
`= kotlin("js") + ru.mipt.npm.gradle.common`
## space.kscience.gradle.js
`= kotlin("js") + space.kscience.gradle.common`
## ru.mipt.npm.gradle.native
add default native targets to `ru.mipt.npm.gradle.mpp`
## space.kscience.gradle.native
add default native targets to `space.kscience.gradle.mpp`
## ru.mipt.npm.gradle.node
add node target to `ru.mipt.npm.gradle.mpp`
## space.kscience.gradle.node
add node target to `space.kscience.gradle.mpp`

View File

@ -1,20 +1,23 @@
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
signing
id("org.jetbrains.changelog") version "1.1.2"
id("org.jetbrains.dokka") version "1.4.32"
// signing
`version-catalog`
alias(libs.plugins.maven.publish)
alias(libs.plugins.jetbrains.changelog)
alias(libs.plugins.jetbrains.dokka)
alias(libs.plugins.versions)
alias(libs.plugins.versions.update)
}
group = "ru.mipt.npm"
version = "0.9.5"
group = "space.kscience"
version = libs.versions.tools.get()
description = "Build tools for DataForge and kscience projects"
description = "Build tools for kotlin for science projects"
changelog{
version = project.version.toString()
}
changelog.version.set(project.version.toString())
repositories {
mavenCentral()
@ -22,167 +25,182 @@ repositories {
maven("https://repo.kotlin.link")
}
val kotlinVersion = "1.5.0"
java {
targetCompatibility = JavaVersion.VERSION_1_8
}
// Add plugins used in buildSrc as dependencies, also we should specify version only here
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
implementation("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.16.1")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32")
implementation("org.jetbrains.intellij.plugins:gradle-changelog-plugin:1.1.2")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
api(libs.kotlin.gradle)
api(libs.foojay.resolver)
implementation(libs.binary.compatibility.validator)
implementation(libs.changelog.gradle)
implementation(libs.dokka.gradle)
implementation(libs.kotlin.jupyter.gradle)
implementation(libs.kotlin.serialization)
implementation(libs.kotlinx.html)
implementation(libs.tomlj)
// // nexus publishing plugin
// implementation("io.github.gradle-nexus:publish-plugin:_")
implementation(libs.freemarker)
testImplementation(kotlin("test"))
}
project.extensions.findByType<GradlePluginDevelopmentExtension>()?.apply {
plugins {
create("common") {
id = "ru.mipt.npm.gradle.common"
description = "The generalized kscience plugin that works in conjunction with any kotlin plugin"
implementationClass = "ru.mipt.npm.gradle.KScienceCommonPlugin"
}
tasks.test {
useJUnitPlatform()
}
//declaring exported plugins
gradlePlugin {
plugins {
create("project") {
id = "ru.mipt.npm.gradle.project"
description = "The root plugin for multimodule project infrastructure"
implementationClass = "ru.mipt.npm.gradle.KScienceProjectPlugin"
id = "space.kscience.gradle.project"
description = "The root plugin for multi-module project infrastructure"
implementationClass = "space.kscience.gradle.KScienceProjectPlugin"
}
create("mpp") {
id = "ru.mipt.npm.gradle.mpp"
id = "space.kscience.gradle.mpp"
description = "Pre-configured multiplatform project"
implementationClass = "ru.mipt.npm.gradle.KScienceMPPlugin"
implementationClass = "space.kscience.gradle.KScienceMPPlugin"
}
create("jvm") {
id = "ru.mipt.npm.gradle.jvm"
id = "space.kscience.gradle.jvm"
description = "Pre-configured JVM project"
implementationClass = "ru.mipt.npm.gradle.KScienceJVMPlugin"
}
create("js") {
id = "ru.mipt.npm.gradle.js"
description = "Pre-configured JS project"
implementationClass = "ru.mipt.npm.gradle.KScienceJSPlugin"
}
create("native") {
id = "ru.mipt.npm.gradle.native"
description = "Additional native targets to be use alongside mpp"
implementationClass = "ru.mipt.npm.gradle.KScienceNativePlugin"