build.gradle: Use plugins block rather than 'apply plugin' statements.

This commit is contained in:
Sean Gilligan 2019-04-04 13:14:51 -07:00 committed by Andreas Schildbach
parent bfeb808b3b
commit 7bfeff65f6
4 changed files with 18 additions and 14 deletions

View File

@ -1,7 +1,9 @@
apply plugin: 'java'
apply plugin: 'com.google.protobuf'
apply plugin: 'maven'
apply plugin: 'eclipse'
plugins {
id 'java'
id 'com.google.protobuf'
id 'maven'
id 'eclipse'
}
version = '0.16-SNAPSHOT'

View File

@ -1,5 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
plugins {
id 'java'
id 'eclipse'
}
dependencies {
implementation project(':bitcoinj-core')

View File

@ -1,5 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
plugins {
id 'java'
id 'eclipse'
}
dependencies {
implementation project(':bitcoinj-core')

View File

@ -1,12 +1,10 @@
plugins {
id 'org.openjfx.javafxplugin' version '0.0.7' apply false
id 'java'
id 'eclipse'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
apply plugin: 'org.openjfx.javafxplugin'
dependencies {
implementation project(':bitcoinj-core')
implementation 'com.google.guava:guava:27.1-android'