• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My app build says successful but I keep seeing this message, how do I fix it. Here is my build.gradle;

buildscript {
   repositories {
       google()  // Google's Maven repository
       mavenCentral()  // Maven Central repository
   }
   dependencies {
       classpath 'com.android.tools.build:gradle:8.0.2'
       classpath 'com.google.gms:google-services:4.3.15'
   }
}

plugins {
   id 'com.android.application' version '8.0.2' apply false
   id 'com.android.library' version '8.0.2' apply false
}

allprojects {
   repositories {
       google()  // Google's Maven repository
       mavenCentral()  // Maven Central repository
       maven {
           url 'https://maven.google.com/'
           name 'Google'
       }
       // ... any additional repositories you might need
   }
}
 
Author
Posts: 28
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zain,

you can run Gradle like this to show you all deprecation warnings:

./gradlew --warning-mode all

The output should include explanations and links to the documentation, for example

 
reply
    Bookmark Topic Watch Topic
  • New Topic