Skip to content

Replace ktlint with ktfmt #699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 525 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
891cdf5
Support non exception errors from fetcher (#123)
eyalgu Apr 29, 2020
3b2f69e
Prepare for release 4.0.0-alpha06.
eyalgu Apr 29, 2020
e2e75ea
Prepare next development version.
eyalgu Apr 29, 2020
060fa2a
Coroutines 1.3.5 (#166)
ychescale9 May 9, 2020
ed70027
Fix README.md (#172)
takasfz May 21, 2020
535692c
README corrections (#176)
es0329 May 30, 2020
5ddbb5a
Add Store RxJava3 module (#171)
mezpahlan May 30, 2020
ce352e0
fix doc: default policy of max items = 100 (#169)
YukiMatsumura May 30, 2020
5c2c69e
Update deploy_snapshot.sh
digitalbuddha Jun 15, 2020
ea530d9
Yigit/move fetcher factories to fetcher (#168) (#181)
yigit Jun 19, 2020
bf759e6
Emit source of truth errors to subscribers #177 (#180)
yigit Jun 27, 2020
f26494c
Avoid using Duration.INFINITE (#189)
chrisbanes Jul 23, 2020
78d66c7
Minor cleanup in RealStore.diskNetworkCombined (#190)
eyalgu Jul 23, 2020
f5dda81
Remove duplicate comment (#192)
OrhanTozan Jul 28, 2020
d3f28ac
Fix memory leak caused by capturing the user's coroutine context when…
eyalgu Aug 5, 2020
e1af761
Add StoreResult.NoNewData for empty fetchers. (#194)
eyalgu Aug 7, 2020
c13e52f
Update to Kotlin 1.4.0, Coroutines 1.3.9 and revert to using Duration…
ychescale9 Aug 14, 2020
6144d26
Prepare for release 4.0.0-alpha07
Aug 19, 2020
8395052
Prepare next development version
Aug 19, 2020
c033cba
Merge pull request #206 from DYJParker/alpha07-release
DYJParker Aug 19, 2020
68fd6cb
Prepare for release 4.0.0-alpha07
changusmc Aug 19, 2020
3920c64
Prepare next development version.
changusmc Aug 19, 2020
0032841
Prepare for release 4.0.0-alpha07
changusmc Aug 19, 2020
40b1208
Prepare next development version.
changusmc Aug 19, 2020
39fdfc1
Merge pull request #208 from changusmc/main
changusmc Aug 19, 2020
9288582
Prepare for release 4.0.0-alpha07 (#209)
changusmc Aug 19, 2020
66b7aba
Prepare next development version. (#210)
changusmc Aug 19, 2020
d3c4a8b
Update signing method (#211)
changusmc Aug 20, 2020
7c06b38
Prepare for release 4.0.0-alpha07 (#212)
changusmc Aug 20, 2020
e92895f
Prepare next development version. (#213)
changusmc Aug 20, 2020
6bcf115
Use absolute path for signing key (#214)
changusmc Aug 20, 2020
55bcd99
Prepare for release 4.0.0-alpha07 (#216)
changusmc Aug 20, 2020
2c478e8
Prepare next development version. (#217)
changusmc Aug 20, 2020
bbaa6ab
use covariance to remove generic types from subtypes like Error (#220)
eyalgu Aug 21, 2020
8c40283
Update release notes (#218)
changusmc Aug 21, 2020
04b3e84
Replace BarCode with Pair<String, String> (#228)
Sep 10, 2020
30669ac
Sample app improvements (#227)
Sep 10, 2020
1e3d35d
Move filesystem types (#229)
Sep 11, 2020
18c118e
Revert to use the old guava port cache (via jar) (#200)
eyalgu Sep 14, 2020
c2ab551
Release 4.0.0-beta01 (#234)
wclausen Sep 21, 2020
36f8f2c
Prepare next development version (#235)
wclausen Sep 21, 2020
2ac2d9b
update coroutines to 1.4.0, kotlin to 1.4.10 (#242)
yigit Nov 8, 2020
e64bcc0
Update README.md
digitalbuddha Nov 30, 2020
55073c4
Prepare for release 4.0.0 (#248)
wclausen Nov 30, 2020
7e407c0
Prepare for next development version (#249)
wclausen Nov 30, 2020
10a6990
add piggyback to all stores (#257)
digitalbuddha Feb 4, 2021
74b504e
Update secrets and key (#264)
rallat Apr 26, 2021
fbf8b69
Remove deprecated code to fix error when users upgrade to kotlin 1.5 …
digitalbuddha May 6, 2021
dc93462
Prepare for release 4.0.1
changusmc May 6, 2021
9a5258e
Update to correct version 4.0.1
changusmc May 6, 2021
3f590c8
Prepare next development version.
changusmc May 6, 2021
91e1bde
Update secring file (#267)
chris-mitchell May 6, 2021
ebef3d6
Prepare for release 4.0.1 (#268)
changusmc May 6, 2021
c81def5
Prepare next development version.
changusmc May 6, 2021
320130a
Update travis encrypted keys
chris-mitchell May 6, 2021
6f82cbf
Update travis encrypted keys
chris-mitchell May 6, 2021
25c405e
Prepare for release 4.0.1 (#269)
changusmc May 6, 2021
4f59da5
Prepare next development version. (#270)
changusmc May 6, 2021
1ab3bd1
Bump dependencies for sample app (#272)
changusmc May 7, 2021
b7d8863
Update release docs (#271)
changusmc May 7, 2021
484dfd7
Fire off kotlin 1.5 compatible snapshot (#273)
digitalbuddha May 10, 2021
3a41f74
Prepare for release 4.0.2-KT15 (#274)
digitalbuddha May 17, 2021
0097217
Prepare next development version. (#275)
digitalbuddha May 17, 2021
7d100c3
Update kotlin to 1.5.21, coroutines to 1.5.1 (#281)
yigit Jul 25, 2021
a481703
Add GHA
changusmc Sep 1, 2021
f069f4b
Add publish
changusmc Sep 1, 2021
177494b
Merge pull request #4 from changusmc/github_actions
changusmc Sep 1, 2021
92b56e5
Update secret
changusmc Sep 1, 2021
c2a7dee
Revert "Update secret"
changusmc Sep 1, 2021
5b6197a
Revert "Merge pull request #4 from changusmc/github_actions"
changusmc Sep 1, 2021
2089db0
Adding Github Actions (#292)
changusmc Sep 1, 2021
1f9fde8
Remove Travis CI (#293)
changusmc Sep 2, 2021
93c849a
Remove unnecessary FlowPreview & ExperimentalCoroutinesApi annotation…
handstandsam Sep 8, 2021
2174377
Add dependabot for store (#294)
chris-mitchell Sep 9, 2021
873df3d
Fix missing experimental annotations (#305)
chris-mitchell Sep 9, 2021
7e7437b
Bump recyclerview from 1.1.0 to 1.2.1 (#304)
dependabot[bot] Sep 9, 2021
9e0fd6e
Bump mockito-core from 2.24.0 to 3.12.4 (#303)
dependabot[bot] Sep 9, 2021
03a92f8
There are runtime errors with the sample "app" module due to conflict…
handstandsam Oct 15, 2021
524a968
Bump versions.navigation from 2.2.1 to 2.3.5 (#295)
dependabot[bot] Oct 17, 2021
4b91363
Bump versions.room from 2.2.5 to 2.3.0 (#296)
dependabot[bot] Oct 17, 2021
aa88338
Bump versions.coroutines from 1.5.1 to 1.5.2 (#298)
dependabot[bot] Oct 18, 2021
52321ba
Bump swiperefreshlayout from 1.0.0 to 1.1.0 (#300)
dependabot[bot] Oct 18, 2021
b9e0d22
Bump fragment-ktx from 1.2.4 to 1.3.6 (#297)
dependabot[bot] Oct 18, 2021
10ece08
Bump versions.retrofit from 2.8.1 to 2.9.0 (#299)
dependabot[bot] Oct 18, 2021
fb5e6b6
Bump core-ktx from 1.2.0 to 1.6.0 (#302)
dependabot[bot] Oct 18, 2021
4fc3a44
Bump rxjava from 2.2.19 to 2.2.21 (#306)
dependabot[bot] Oct 18, 2021
553b461
Bump junit from 4.13 to 4.13.2 (#311)
dependabot[bot] Oct 19, 2021
1ee59a9
Bump mockito-core from 3.12.4 to 4.0.0 (#320)
dependabot[bot] Oct 19, 2021
64d0194
Bump appcompat from 1.1.0 to 1.3.1 (#313)
dependabot[bot] Oct 19, 2021
b48e216
Bump leakcanary-android from 2.4 to 2.7 (#315)
dependabot[bot] Oct 19, 2021
15f474e
Bump rxjava from 3.0.3 to 3.1.2 (#318)
dependabot[bot] Oct 19, 2021
8e7f760
Bump truth from 1.0 to 1.1.3 (#326)
dependabot[bot] Oct 25, 2021
82e07ff
Bump material from 1.1.0 to 1.4.0 (#325)
dependabot[bot] Oct 25, 2021
6ffd588
Bump versions.kotlin from 1.5.21 to 1.5.31 (#324)
dependabot[bot] Oct 26, 2021
72c6e98
Bump constraintlayout from 1.1.3 to 2.1.1 (#322)
dependabot[bot] Oct 26, 2021
942cc52
Bump okio from 2.6.0 to 2.10.0 (#323)
dependabot[bot] Oct 26, 2021
5196998
Update dependabot.yml (#336)
digitalbuddha Nov 16, 2021
da072a9
Bump okio from 2.10.0 to 3.0.0 (#330)
dependabot[bot] Nov 16, 2021
3be79b3
Update sample app to support multidex (#335)
mwolfson Nov 16, 2021
c0125b0
Fix RxBuilder scheduler comment (#337)
digitalbuddha Nov 16, 2021
2d4172d
Increase memory for dokka (#343)
changusmc Nov 18, 2021
efdf2fc
Prepare for release 4.0.3-KT15 (#344)
chris-mitchell Nov 18, 2021
b4da01b
Fix cache artifact id and version (#347)
rahulsainani Nov 19, 2021
f1b925d
Revert to Duration.INFINITE (#353)
julioromano Dec 7, 2021
629f53b
Upgrade AGP to 4.1 and Gradle to 6.6 (#357)
changusmc Dec 8, 2021
2f3f2a7
Replace Moshi by Kotlin Serializer (#355)
mirland Dec 8, 2021
386814f
Bump mockito-core from 4.0.0 to 4.1.0 (#348)
dependabot[bot] Dec 8, 2021
e1412a9
Bump versions.store from 4.0.2-KT15 to 4.0.3-KT15 (#346)
dependabot[bot] Dec 8, 2021
f23d297
Bump rxjava from 3.1.2 to 3.1.3 (#350)
dependabot[bot] Dec 8, 2021
f727770
Bump constraintlayout from 2.1.1 to 2.1.2 (#340)
dependabot[bot] Dec 8, 2021
60945b2
Prepare next development version (#345)
chris-mitchell Dec 8, 2021
526e63a
Move to Maven Publish Gradle Plugin (#358)
changusmc Dec 8, 2021
d9eda7b
Automatically prepare next development version
changusmc Dec 8, 2021
e1c8e2a
Revert "Automatically prepare next development version"
changusmc Dec 8, 2021
7e15f63
Automatically prepare next development version (#360)
changusmc Dec 8, 2021
c3c155d
Prepare for release 4.0.4-KT15 (#359)
changusmc Dec 8, 2021
5ab8c20
Update git actor for auto commit (#364)
changusmc Dec 8, 2021
7176cff
Prepare next development version (#367)
changusmc Dec 8, 2021
f59e9f5
Remove action to update version (#368)
changusmc Dec 8, 2021
21c8f8d
Bump okhttp from 4.9.0 to 4.9.3 (#363)
dependabot[bot] Dec 8, 2021
149b8cd
Bump versions.store from 4.0.3-KT15 to 4.0.4-KT15 (#369)
dependabot[bot] Dec 10, 2021
faa0dda
Bump kotlinx-serialization-json from 1.3.1 to 1.3.2 (#376)
dependabot[bot] Dec 24, 2021
0d1c50b
Bump mockito-core from 4.1.0 to 4.2.0 (#373)
dependabot[bot] Dec 24, 2021
3eb038c
Bump leakcanary-android from 2.7 to 2.8.1 (#381)
dependabot[bot] Jan 11, 2022
486b1c0
Bump ktlint-gradle from 9.1.1 to 10.2.1 (#378)
dependabot[bot] Jan 11, 2022
9d60506
Adds license to readme. (#396)
rharter Jan 31, 2022
b675475
Update .ci_test_and_publish.yml (#398)
digitalbuddha Feb 2, 2022
a1d88bb
Update to new Sonatype host (#406)
changusmc Mar 4, 2022
1bc0f82
Bump mockito-core from 4.2.0 to 4.4.0 (#407)
dependabot[bot] Mar 16, 2022
205109d
Room 2.4.2 Upgrade (#411)
handstandsam Mar 16, 2022
0ec9c89
Non-breaking Gradle Upgrade. Things went crazy when I went straight …
handstandsam Mar 17, 2022
1ebe20b
Bumping CI to Java 11 (#415)
handstandsam Mar 17, 2022
35a6e90
Remove Kotlin Android Extensions (#416)
handstandsam Mar 17, 2022
cf9f2d6
Version Bumps - AGP 7.1.2, Kotlin 1.6.10 and related updates (#414)
handstandsam Mar 17, 2022
76123eb
Use Java 11 for Publish job as well. (#418)
handstandsam Mar 17, 2022
a73e7e4
Bump constraintlayout from 2.1.2 to 2.1.3 (#388)
dependabot[bot] Mar 21, 2022
0635405
Prepare for Release 4.0.5 (#423)
handstandsam Mar 30, 2022
b26cdc3
Prepare next development version 4.0.6-SNAPSHOT (#424)
handstandsam Mar 30, 2022
627223d
Bump spotless-plugin-gradle from 6.3.0 to 6.4.1 (#425)
dependabot[bot] Mar 30, 2022
adec38b
Keep README in sync with changes from PR #200 (#403)
brentwatson Mar 30, 2022
0293dab
Update CHANGELOG and Sample App to use 4.0.5. (#426)
handstandsam Mar 30, 2022
19b8f99
release fetcher in nonCancellable scope (#432)
lukisk Apr 23, 2022
2e4eb9e
Bump gradle from 7.1.2 to 7.2.1 (#437)
dependabot[bot] Aug 8, 2022
71eb85b
upgrade agp (#441)
digitalbuddha Aug 18, 2022
26d0dc2
Bump material from 1.4.0 to 1.6.0 (#434)
dependabot[bot] Aug 18, 2022
3cd4a60
Bump versions.kotlin from 1.6.10 to 1.6.20 (#427)
dependabot[bot] Aug 18, 2022
758e5e8
Remove downstream channel in noncancellable context. (#440)
lukisk Sep 7, 2022
2ed7c77
Flip coordinates (#463)
matt-ramotar Nov 20, 2022
99c14df
Prepare for release 4.0.6 (#464)
matt-ramotar Nov 20, 2022
2f5c06c
Prepare for release 4.0.7 (#465)
matt-ramotar Nov 20, 2022
210fe34
Bump Maven publish plugin (#467)
matt-ramotar Nov 29, 2022
23f995b
Prepare next development version (#468)
matt-ramotar Nov 29, 2022
3de266e
[Store5] Target Android, iOS, JVM, JS (#493)
matt-ramotar Dec 18, 2022
2ec9e8b
Release 5.0.0-alpha03 (#494)
matt-ramotar Dec 18, 2022
634cc5d
Prepare next development version (#495)
matt-ramotar Dec 21, 2022
2c08642
Add Write + Conflict Resolution (#496)
matt-ramotar Dec 21, 2022
3130580
Update CI
matt-ramotar Dec 22, 2022
7f2925d
Clean Up (#499)
matt-ramotar Dec 23, 2022
eb4b78d
Add Validator (#500)
matt-ramotar Dec 27, 2022
3066c05
Expose AtomicFU (#505)
matt-ramotar Dec 30, 2022
4c96313
Update README.md
matt-ramotar Dec 30, 2022
73b6a2e
[Store5] Target Android, iOS, JVM, JS (#493)
aclassen Jan 16, 2023
5caa4f3
Release 5.0.0-alpha03 (#494)
matt-ramotar Dec 18, 2022
013aa1b
Prepare next development version (#495)
matt-ramotar Dec 21, 2022
85895d6
Add Write + Conflict Resolution (#496)
matt-ramotar Dec 21, 2022
1416431
Update CI
matt-ramotar Dec 22, 2022
acbaa7d
Clean Up (#499)
matt-ramotar Dec 23, 2022
1bd4b2a
Add Validator (#500)
matt-ramotar Dec 27, 2022
5c5de1a
Expose AtomicFU (#505)
matt-ramotar Dec 30, 2022
6032a58
Update README.md
aclassen Jan 16, 2023
b7e06f7
Merge branch 'main' of https://github.com/MobileNativeFoundation/Store
aclassen Jan 16, 2023
63636c7
Modify workflow (#520)
matt-ramotar Feb 24, 2023
47c965e
Release 5.0.0-alpha04 (#521)
matt-ramotar Feb 25, 2023
7f13d10
Prepare next development version (#522)
matt-ramotar Feb 25, 2023
343a753
Fix wrong git head referenced in PR workflow (#524)
ema987 Feb 25, 2023
03e1810
Add iOS simulator support for KMM projects (#516)
ema987 Feb 25, 2023
1213e03
Create add_issue_to_project.yml
matt-ramotar Feb 25, 2023
2067be1
Make bookkeeper optional (#529)
ajesh-n Mar 4, 2023
52fef1a
Remove KMMBridge (#530)
matt-ramotar Mar 5, 2023
667716d
Target linuxX64 (#537)
matt-ramotar Mar 15, 2023
00007b0
Update build.gradle.kts
matt-ramotar Mar 15, 2023
455f8a2
Release 5.0.0-alpha05 (#538)
matt-ramotar Mar 16, 2023
e933bd4
Prepare next development version (#543)
matt-ramotar Mar 31, 2023
26d73a0
Separate MutableStoreBuilder from StoreBuilder (#542)
matt-ramotar Apr 13, 2023
e4448be
Update README.md
matt-ramotar Apr 20, 2023
8c63ca8
Add Proposal template (#523)
matt-ramotar Apr 24, 2023
cd0d87c
Support Rx2 (#531)
matt-ramotar Apr 24, 2023
e19dce2
Introduce Fallback Mechanisms (#545)
matt-ramotar May 8, 2023
2435bf0
Incorporate @tsenggordon comments from #545 (#551)
matt-ramotar May 8, 2023
132029a
Release 5.0.0-alpha06 (#552)
matt-ramotar May 9, 2023
423fa13
Make it easier to work with lists (#548)
matt-ramotar May 19, 2023
04d588f
[WIP] split read and write SOT types (#560)
digitalbuddha Jul 5, 2023
c16446d
Migrate to version catalogs (#561)
matt-ramotar Jul 5, 2023
a0f1a62
Prepare for release 5.0.0-beta02 (#569)
matt-ramotar Jul 21, 2023
00bbdde
fix validator (#573)
digitalbuddha Aug 11, 2023
4405578
Prepare for release 5.0.0-beta03 (#574)
digitalbuddha Aug 11, 2023
d89925d
Prepare next version development version (#575)
digitalbuddha Aug 12, 2023
887c623
Prepare for release 5.0.0 (#576)
digitalbuddha Sep 14, 2023
e106420
Update README.md
matt-ramotar Oct 7, 2023
24ea27b
Add cacheOnly option to StoreReadRequest (#586)
wbrawner Dec 7, 2023
2d52d89
Update CONTRIBUTING.md (#589)
matt-ramotar Dec 15, 2023
c8205fd
Update pull_request_template.md (#590)
matt-ramotar Dec 15, 2023
ddb04d1
Support Paging (#550)
matt-ramotar Jan 7, 2024
2a738f3
Support custom error types (#583)
matt-ramotar Jan 7, 2024
9bd4b99
Expose converter via StoreBuilder.from() function (#594)
wbrawner Jan 8, 2024
62871cc
Release 5.1.0-alpha01 (#597)
matt-ramotar Jan 25, 2024
d96c083
Release paging and core (#600)
matt-ramotar Jan 27, 2024
b1398e0
Release 5.1.0-alpha02 (#601)
matt-ramotar Jan 28, 2024
4cc393b
Prepare for development (#607)
matt-ramotar Feb 27, 2024
1526467
Add WasmJS target to cache (#605)
BoD Feb 28, 2024
fcac2fe
Add Cache.getAllPresent() (#609)
BoD Apr 5, 2024
211d713
Update ChannelManager.kt (#637)
lukisk Jun 1, 2024
34f7d88
Fix failing CI tests (#641)
matt-ramotar Jun 29, 2024
f7c5653
Add binary compatibility validator and convention plugins (#645)
matt-ramotar Jun 29, 2024
15cd812
Release 5.1.0-alpha03 (#647)
matt-ramotar Jul 5, 2024
46dfb58
fix: lower JVM target to Java 11 (#648)
msfjarvis Jul 7, 2024
12032af
Use Java 11 everywhere (#649)
matt-ramotar Jul 7, 2024
89f5463
Prepare for development (#650)
matt-ramotar Jul 7, 2024
215f20c
Update kermit to 2.0.4 (#655)
solcott Sep 19, 2024
555a6af
Avoid deadlock in RealMutableStore (#658)
amrfarid140 Oct 4, 2024
af91662
Typo fix RealStore.kt (#662)
Shabinder Oct 5, 2024
e63caab
Fix Failing Node JS Tests (#665)
matt-ramotar Oct 18, 2024
19aa8f8
Release 5.1.0-alpha05 (#664)
matt-ramotar Oct 18, 2024
0183504
Document extension functions in store.kt (#669)
blakelee Nov 8, 2024
c550927
Update README (#670)
matt-ramotar Nov 17, 2024
79c4dc9
Remove the use of deprecated BroadcastChannel. (#659)
romkal Nov 17, 2024
7ef7eaf
Update Kover to 0.9.0-RC, Add Coverage Report to CI, and Consolidate …
matt-ramotar Nov 24, 2024
0529927
Target Wasm JS (#646)
matt-ramotar Feb 20, 2025
1dd658e
Remove first paging iteration (#671)
matt-ramotar Feb 21, 2025
d577eb9
Update Tests to Use Turbine (#672)
matt-ramotar Feb 22, 2025
913525c
Configure Renovate (#676)
renovate[bot] Feb 22, 2025
b2153ea
fix(deps): update dependency co.touchlab:kermit to v2.0.5 (#683)
renovate[bot] Feb 22, 2025
97a118e
fix(deps): update dependency jacoco to v0.8.12 (#684)
renovate[bot] Feb 22, 2025
5ae25a1
fix(deps): update dependency org.jacoco:org.jacoco.core to v0.8.12 (#…
renovate[bot] Feb 23, 2025
6f5a11e
fix(deps): update dependency org.jetbrains.dokka:dokka-gradle-plugin …
renovate[bot] Feb 23, 2025
e132aec
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-datetime t…
renovate[bot] Feb 23, 2025
e750993
add ktfmt
itsandreramon Feb 25, 2025
d3d72e6
setup detekt
itsandreramon Feb 25, 2025
698cfa2
update worflow
itsandreramon Feb 25, 2025
06423f9
remove ktlint deps
itsandreramon Feb 25, 2025
acb4db5
add src dir
itsandreramon Feb 25, 2025
221232c
add store detekt rules
itsandreramon Feb 25, 2025
5c7df31
sort
itsandreramon Feb 25, 2025
48d6b55
include kotlin gradle scripts
itsandreramon Feb 26, 2025
9b13c1c
use correct extension
itsandreramon Feb 26, 2025
0cae589
use correct path
itsandreramon Feb 26, 2025
6ecf185
run ktfmt
itsandreramon Feb 26, 2025
fe9d9f7
format root script
itsandreramon Feb 26, 2025
55c7846
add baseline
itsandreramon Feb 26, 2025
473617c
remove ktlint baseline
itsandreramon Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coverage:
range: 70..80
round: down
precision: 2

comment:
layout: diff, files

ignore:
- "**/fake"
- "**/commonTest"
- "**/androidTest"
- "**/iOSTest"
- "**/jsTest"
- "**/jvmTest"
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**
- Device: [e.g. Pixel 3]
- OS: [e.g. Android 10]
- Store Version [e.g. 4.0.0]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request] "
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Proposal
about: Propose an API change
title: "[Proposal] "
---

# Proposal: [Title]

Author(s): [GitHub username]

Last updated: [Date]

## Abstract

[A short summary of the proposal.]

## Background

[An introduction of the necessary background and the problem being solved by the proposed change.]

## Proposal

[A precise statement of the proposed change.]

## Rationale

[A discussion of alternate approaches and the trade offs, advantages, and disadvantages of the specified approach.]

## Compatibility

[A discussion of the change with regard to the current version of Store.]

## Implementation

[A description of the steps in the implementation, who will do them, and when.]

## Open issues

[A discussion of open issues relating to this proposal. This section may be omitted if there are none.]
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 1
ignore:
update-types: ["version-update:semver-major"]
1 change: 1 addition & 0 deletions .github/images/hero-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/kotlin-foundation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/mobile-native-foundation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions .github/workflows/add_issue_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add Issue To Project

on:
issues:
types:
- opened

jobs:
add-issue-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/MobileNativeFoundation/projects/1
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT }}
94 changes: 94 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
api-level:
- 29
steps:

- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0
persist-credentials: false

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Grant execute permission for Gradlew
run: chmod +x gradlew

- name: Check Kotlin formatting
run: ./gradlew spotlessCheck

- name: Run Kotlin static analysis
run: ./gradlew detekt

- name: Build and Test with Coverage
run: ./gradlew clean build koverXmlReport --stacktrace

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true

publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'MobileNativeFoundation/Store'
runs-on: macos-latest
needs: build-and-test
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'

- name: Grant execute permission for Gradlew
run: chmod +x gradlew

- name: Upload Artifacts to Maven Central
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}

- name: Retrieve Version
run: |
echo "VERSION_NAME=$(cat gradle.properties | grep -w "VERSION_NAME" | cut -d'=' -f2)" >> $GITHUB_ENV

- name: Publish Release
run: ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
if: "!endsWith(env.VERSION_NAME, '-SNAPSHOT')"
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
7 changes: 7 additions & 0 deletions .github/workflows/create_swift_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Create Swift Package

on:
workflow_dispatch:
jobs:
publish:
uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/[email protected]
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ build/

# Local configuration file (sdk path, etc)
local.properties
gradle.properties

# Proguard folder generated by Eclipse
proguard/
Expand All @@ -41,6 +40,19 @@ captures/
# Intellij
*.iml
.idea/
.classpath
.project
.settings

# Keystore files
*.jks

**/kover/html/
*.podspec
.kotlin/
yarn.lock

# Ignore coverage reports
**/*/coverage.xml
**/*/build/kover/
**/*/build/reports/kover/
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Loading