Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hannesstruss/godot
Keep track of how much time you spend on Gradle builds
https://github.com/hannesstruss/godot
gradle gradle-plugin
Last synced: 9 days ago
JSON representation
Keep track of how much time you spend on Gradle builds
- Host: GitHub
- URL: https://github.com/hannesstruss/godot
- Owner: hannesstruss
- License: apache-2.0
- Archived: true
- Created: 2015-02-08T10:46:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T10:38:09.000Z (over 4 years ago)
- Last Synced: 2024-07-26T07:35:05.519Z (4 months ago)
- Topics: gradle, gradle-plugin
- Language: JavaScript
- Size: 271 KB
- Stars: 113
- Watchers: 4
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# :warning: Godot is unmaintained. There are [better projects out there](https://github.com/passy/build-time-tracker-plugin), use them π
What is Godot?
==============Do you like waiting? Godot is for passionate thumb-twiddlers of the quantified-self-era. A Gradle plugin to help you keep track of how much time you spend waiting for builds to finish.
### Isn't that like the `--profile` option in Gradle?
`--profile` only summarizes the timing of one build, whereas Godot keeps track of
how your build duration changes over time.How to use this
---------------Add the following to your project's root `build.gradle`:
```Groovy
buildScript {
repositories {
jcenter()
}
dependencies {
// ... other buildscript dependencies, e.g. the Android Gradle plugin
classpath 'de.hannesstruss:godot:+'
}
}apply plugin: 'de.hannesstruss.godot'
```When the plugin is applied, it'll keep information about how long each of your
builds took. Continue working for a couple of days, then run./gradlew generateGodotReport
and Godot will generate a [nice report][4] with some charts.
Without configuration, the logfile for your builds will be kept in the `GRADLE_USER_HOME` directory which defaults
to `~/.gradle`. If you'd rather keep it in your project's build directory, you can configure your `build.gradle` like
this:godot.persistLog = false
Be aware that a `gradle clean` will then remove the logfile.
Credits
-------Godot is created by [Hannes StruΓ][1] with help from [d3.js][2] and [dimple][3].
License
-------Copyright 2015 Hannes StruΓ
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 athttp://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.[1]: https://twitter.com/hannesstruss
[2]: http://d3js.org/
[3]: http://dimplejs.org/
[4]: http://hannesstruss.github.io/godot/report.html
[5]: http://forums.gradle.org/gradle/topics/is-it-bad-practice-for-a-plugin-to-write-to-gradle-user-home
[travis]: https://travis-ci.org/hannesstruss/godot