please set like this, inside build.gradle
project level :
buildscript {
...
dependencies {
...
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.5.1"
}
}
please include this script in build.gradle
module
like this :
apply from: 'publish.gradle'
if an error is published, please update the version "org.jfrog.buildinfo:build-info-extractor-gradle:4.5.1" to "org.jfrog.buildinfo:build-info-extractor-gradle:4.15.1"