Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
gradle/wrapper
kompile-core
kompile
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Kompile Gradle Plugin

CircleCI

Kompile Gradle Plugin is a Gradle Plugin that calculate how much time have you been kompiling and send it to Kompile.

This plugin picks your alias, email and project in which you are working and send your build times to your Kompile server.

How it works?

This plugin needs that your project is tracked in a git repository, and also you have defined your user name and email in the git profile. Also, in order to pick up the project name, we need you to have your remote git url named as 'origin'(git uses this as default). If you want to try if this plugin will work for you, just try to run these commands:

  • Project name: git config --get remote.origin.url | head -n1 | sed 's/.*\///' | sed 's/\.git//'
  • User name: git config --get user.name
  • User email: git config --get user.email

If these commands print an output in your command line, you're ready to use Kompile Gradle Plugin 😃, other way please open an issue.

Installation

Apply the plugin in your build.gradle:

buildscript {
  repositories {
    maven { url 'https://jitpack.io' }
  }
  dependencies {
    classpath 'com.github.josedlpozo:Kompile-Gradle-Plugin:0.0.2'
  }
}

apply plugin: 'com.josedlpozo.kompile'

Configuration

You just need to indicate the Kompile server host:

apply plugin: 'com.josedlpozo.kompile'

kompile {
    host = "http://kompile.host"
}

Related projects

License

 Copyright (C) 2018 josedlpozo

 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.
You can’t perform that action at this time.