update plugins-api build script (#1908)

* fix missing dot
* remove unused import
* remove empty dependencies
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Danno Ferrin 5 years ago committed by GitHub
parent 9856cd32b0
commit 4ccfa71ed8
  1. 7
      plugin-api/build.gradle

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License.
*/
import net.ltgt.gradle.errorprone.CheckSeverity
import java.security.MessageDigest
apply plugin: 'java-library'
@ -27,10 +26,6 @@ jar {
}
}
dependencies {
}
configurations { testArtifacts }
artifacts { testSupportArtifacts testSupportJar }
@ -45,7 +40,7 @@ class FileStateChecker extends DefaultTask {
this.files.sort().each {
digestor.update(it.readBytes())
}
def currentHash = digestor.digest()encodeBase64().toString()
def currentHash = digestor.digest().encodeBase64().toString()
if (this.knownHash != currentHash) {
throw new GradleException("""For the Plugin APIs the checksum of the project did not match what was expected.

Loading…
Cancel
Save