Extends the Build Scan information adding Geolocation data(retrieved from https://ip-api.com) as custom values. The data included is:
- country
- regionName
- city
- lat
- long
- timeZone
- isp
- query
The execution is wrapped with a ValueSource
and is compatible with Configuration Cache
Apply the plugin in the main build.gradle(.kts)
configuration file:
Using the plugins DSL:
plugins {
id("io.github.cdsap.ipinfo") version "0.1"
}
Using legacy plugin application:
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath("io.github.cdsap:ipinfo:0.1")
}
}
apply(plugin = "io.github.cdsap.ipinfo")
Using the plugins DSL:
plugins {
id "io.github.cdsap.ipinfo" version "0.1"
}
Using legacy plugin application:
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath "io.github.cdsap:ipinfo:0.1"
}
}
apply plugin: "io.github.cdsap.ipinfo"
- Gradle 7.5
- com.gradle.enterprise:com.gradle.enterprise.gradle.plugin