@Foxik1

Почему ошибка org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.google.gms.google-services'] was not found in any of the following sour?

Пробую сделать что-то в javafx с firebase но получаю ошибку

Plugin [id: 'com.google.gms.google-services'] was not found in any of the following sources:
 
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
 
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.google.gms.google-services'] was not found in any of the following sources:

Все ошибки (Pastebin)

buid.gradle

plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.13'
id 'org.beryx.jlink' version '2.25.0'
id 'com.google.gms.google-services'
}

group 'com.foxik'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

ext {
junitVersion = '5.8.2'
}

sourceCompatibility = '19'
targetCompatibility = '19'

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

application {
mainModule = 'com.foxik.laucnher'
mainClass = 'com.foxik.laucnher.HelloApplication'
}

javafx {
version = '19-ea+7'
modules = ['javafx.controls', 'javafx.fxml']
}

dependencies {
classpath 'com.google.gms:google-services:4.3.14'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
implementation 'com.google.firebase:firebase-database:20.1.0'
}

test {
useJUnitPlatform()
}

jlink {
imageZip = project.file("${buildDir}/distributions/app-${javafx.platform.classifier}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'app'
}
}

jlinkZip {
group = 'distribution'
}
  • Вопрос задан
  • 224 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
Bell Integrator Хабаровск
До 400 000 ₽
Bell Integrator Ульяновск
До 400 000 ₽
Bell Integrator Ижевск
До 400 000 ₽
07 мая 2024, в 12:23
3000 руб./за проект
07 мая 2024, в 12:22
500 руб./в час