Skip to content

Commit

Permalink
Change publishing domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhijit Sarkar committed Aug 8, 2020
1 parent 623c10c commit 03259fa
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ tasks took to complete relative to the build, but are not meant to be correct up
> If the output console does not support UTF-8 encoding, the bars may appear as weird characters. If you are running
Windows, make sure the terminal encoding is set to UTF-8, or turn off the bars as explained below.

See [Gradle Plugin Portal](https://plugins.gradle.org/plugin/org.asarkar.gradle.build-time-tracker) for usage instructions.
See [Gradle Plugin Portal](https://plugins.gradle.org/plugin/com.asarkar.gradle.build-time-tracker) for usage instructions.

If you are the fiddling type, you can customize the plugin as follows:

```
import org.asarkar.gradle.BuildTimeTrackerPluginExtension
import com.asarkar.gradle.BuildTimeTrackerPluginExtension
// bunch of code
configure<BuildTimeTrackerPluginExtension> { // or buildTimeTracker {...}, for Groovy
barPosition = TRAILING or LEADING, default is TRAILING
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pluginWebsite = https://github.com/asarkar/build-time-tracker
pluginVcsUrl = https://github.com/asarkar/build-time-tracker.git
pluginTags = performance, buildtimes, metrics
pluginId = org.asarkar.gradle.build-time-tracker
pluginTags = performance, build, metrics
pluginId = com.asarkar.gradle.build-time-tracker
pluginDisplayName = build-time-tracker
pluginDescription = Gradle plugin that prints the time taken by the tasks in a build
pluginImplementationClass = org.asarkar.gradle.BuildTimeTrackerPlugin
pluginImplementationClass = com.asarkar.gradle.BuildTimeTrackerPlugin
pluginDeclarationName = buildTimeTrackerPlugin

projectGroup = org.asarkar.gradle
projectVersion = 2.0.3
projectGroup = com.asarkar.gradle
projectVersion = 2.0.4

jUnit5Version = 5.6.2
assertJVersion = 3.16.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.asarkar.gradle
package com.asarkar.gradle

import org.asarkar.gradle.Constants.EXTRA_EXTENSION_NAME
import org.asarkar.gradle.Constants.LOGGER_KEY
import org.asarkar.gradle.Constants.PLUGIN_EXTENSION_NAME
import com.asarkar.gradle.Constants.EXTRA_EXTENSION_NAME
import com.asarkar.gradle.Constants.LOGGER_KEY
import com.asarkar.gradle.Constants.PLUGIN_EXTENSION_NAME
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.ExtensionAware
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.asarkar.gradle
package com.asarkar.gradle

import java.io.PrintStream
import java.time.Duration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.asarkar.gradle
package com.asarkar.gradle

object Constants {
const val PLUGIN_EXTENSION_NAME = "buildTimeTracker"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.asarkar.gradle
package com.asarkar.gradle

data class PrinterInput(
val buildDuration: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.asarkar.gradle
package com.asarkar.gradle

import org.gradle.BuildAdapter
import org.gradle.BuildResult
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.asarkar.gradle
package com.asarkar.gradle

import org.assertj.core.api.Assertions.assertThat
import org.gradle.testkit.runner.GradleRunner
Expand Down Expand Up @@ -35,7 +35,7 @@ class BuildTimeTrackerPluginFunctionalTest {
Files.newBufferedWriter(buildFile, CREATE, WRITE, TRUNCATE_EXISTING).use {
it.write("""
import java.lang.Thread.sleep
import org.asarkar.gradle.BuildTimeTrackerPluginExtension
import com.asarkar.gradle.BuildTimeTrackerPluginExtension
import java.time.Duration
plugins {
id("${props.getProperty("pluginId")}")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.asarkar.gradle
package com.asarkar.gradle

import org.asarkar.gradle.ConsolePrinter.Companion.BLOCK_STR
import org.asarkar.gradle.ConsolePrinter.Companion.format
import com.asarkar.gradle.ConsolePrinter.Companion.BLOCK_STR
import com.asarkar.gradle.ConsolePrinter.Companion.format
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
Expand Down

0 comments on commit 03259fa

Please sign in to comment.