Vädret!
Vädret is a weather app for Sweden written in Kotlin. Weather data is gathered from SMHI Open Data Meteorological Analysis. API documentation available in english here -- the data itself is licensed under Creative commons Erkännande 4.0 SE.
SMHI API
Architecture
This project tries to obey the Clean Architecture approach to application design.
Android Architecture Components
Libraries
Code Style
This project uses ktlint for linting and codecov for measuring test coverage.
Linting
./gradlew ktlint # lint check
./gradlew ktlintFormat # lint check format
Code Contribution Guidelines
If you would like to contribute code to the project fork the project and find an issue/feature you would like to work on. Ideally check with a maintainer so you dont work on something that might be in the workings already.
Your pull request will be failed by the build server if it does not have passing unittests and lintchecks. A build can also be failed if you decrease the testing coverage.
When submitting a pull request make sure you squash the commit(s) for that PR -- Do this so we can keep a clean git history.
Localization
This project uses crowdin as localization management platform. You
can checkout this project here to start translating.
After your translation(s) has been approved, feel free to submit a pull request with your
name added to TRANSLATORS
file.
License
Copyright 2018 Niclas Kron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.