Skip to content

Commit

Permalink
Fix duplicate class
Browse files Browse the repository at this point in the history
  • Loading branch information
shubertm committed Sep 27, 2023
1 parent c79892a commit c8da6dc
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 28 deletions.
29 changes: 4 additions & 25 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,12 @@ buildscript {
ext.kotlin_version="1.7.10"
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven{url 'https://jitpack.io'}
maven { url "https://plugins.gradle.org/m2/" }
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.42'
classpath 'io.github.0ffz:gpr-for-gradle:1.2.1'
}
plugins {
id 'com.android.application' version '7.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
id 'com.google.dagger.hilt.android' version '2.42' apply false
}

allprojects {
apply plugin: "io.github.0ffz.github-packages"
repositories{
google()
mavenCentral()
maven{url 'https://jitpack.io'}
maven { url "https://plugins.gradle.org/m2/" }
gradlePluginPortal()
maven githubPackage.invoke("ARK-Builders/arklib-android")
}
}

task clean(type: Delete) {
delete rootProject.buildDir
Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Oct 05 16:34:57 CAT 2022
#Wed Sep 27 22:27:08 SAST 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
31 changes: 31 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
import org.gradle.api.initialization.resolve.RepositoriesMode

pluginManagement {
repositories {
google()
mavenCentral()
maven{url 'https://jitpack.io'}
maven { url "https://plugins.gradle.org/m2/" }
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven{url 'https://jitpack.io'}
maven { url "https://plugins.gradle.org/m2/" }
gradlePluginPortal()
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/ARK-Builders/arklib-android"
credentials {
username = "token"
password = "\u0037\u0066\u0066\u0036\u0030\u0039\u0033\u0066\u0032\u0037\u0033\u0036\u0033\u0037\u0064\u0036\u0037\u0066\u0038\u0030\u0034\u0039\u0062\u0030\u0039\u0038\u0039\u0038\u0066\u0034\u0066\u0034\u0031\u0064\u0062\u0033\u0064\u0033\u0038\u0065"
}
}
}
}

rootProject.name = "ARK Memo"
include ':app'

0 comments on commit c8da6dc

Please sign in to comment.