gradle vs maven

Mon, Nov 7, 2022 One-minute read

gradle vs maven

Dependency

dependencies {
    implementation 'com.alibaba:druid-spring-boot-starter'
}

Wrapper

gradle version

Gradle Scripts

build.gradle (root + module)

build.gradle (module)

// Android project need this plugin
apply plugin: 'com.adndroid application'

android {
    compileSdkVersion:
    buildToolVersion:
    defaultConfig {

    }

    buildTypes {

    }
}

dependencies {
    implementation 
}

settings.gradle

contains module, for examgle, 2 modules in your project

include ':app', ':demo'
rootProject.name = 'My Application'