diff --git a/DeviceIdentifiersWrapper/build.gradle b/DeviceIdentifiersWrapper/build.gradle index b8cbaa1..b17ff18 100644 --- a/DeviceIdentifiersWrapper/build.gradle +++ b/DeviceIdentifiersWrapper/build.gradle @@ -1,9 +1,5 @@ -apply plugin: 'com.android.library' - -ext { - PUBLISH_GROUP_ID = 'com.zebra.deviceidentifierswrapper' - PUBLISH_ARTIFACT_ID = 'deviceidentifierswrapper' - PUBLISH_VERSION = '0.2' +plugins { + id 'com.android.library' } android { diff --git a/build.gradle b/build.gradle index da807a2..5ae9a7b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,22 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. -buildscript { - repositories { - google() - jcenter() - } - dependencies { - classpath "com.android.tools.build:gradle:4.0.0" - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - google() - jcenter() - } +plugins { + id 'com.android.application' version '7.2.2' apply false + id 'com.android.library' version '7.2.2' apply false } task clean(type: Delete) { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fe0dbff..5fe5e46 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip diff --git a/settings.gradle b/settings.gradle index 54716ae..88cd915 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,22 @@ +pluginManagement { + repositories { + gradlePluginPortal() + google() + mavenCentral() + jcenter() + maven { url 'https://jitpack.io' } + } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + jcenter() + maven { url 'https://jitpack.io' } + } +} + + include ':DeviceIdentifiersWrapper' rootProject.name = "DeviceIdentifiersWrapper" \ No newline at end of file