Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
update plugins-api build script (#1908)
Browse files Browse the repository at this point in the history
* fix missing dot
* remove unused import
* remove empty dependencies
  • Loading branch information
Danno Ferrin authored Sep 5, 2019
1 parent 513b055 commit 61eeab1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -27,10 +26,6 @@ jar {
}
}


dependencies {
}

configurations { testArtifacts }
artifacts { testSupportArtifacts testSupportJar }

Expand All @@ -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.
Expand Down

0 comments on commit 61eeab1

Please sign in to comment.