Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

311
Views
build.gradle (project) completely different?

I setup a new (Kotlin) project using Android Studio. When I take a look at my build.gradle (Project), I see this content:

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '7.1.1' apply false
    id 'com.android.library' version '7.1.1' apply false
    id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

However, other build.gradles seem to be completely different.

I searched all files, but couldn't find any occurrences of the buildscript, dependencies or any other block.

Where are they or how do I add them?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

There are two build.gradle files in android studio i.e. build.gradle(Project) & build.gradle(Module). Required blocks like buildscript, dependencies are available in build.gradle(Module)

enter image description here

build.gradle(Module) looks like:

enter image description here

Hope this will help :)

over 4 years ago · Santiago Trujillo Report

0

Repositories have been moved to settings.gradle and module Gradle has been moved to the app package.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!