Skip to content

Commit

Permalink
update gradle settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jyheo committed Apr 28, 2022
1 parent ba6d4ff commit 2cbd0c0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion examples/fragment_test/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'org.jetbrains.kotlin.android'
}

android {
Expand Down
22 changes: 4 additions & 18 deletions examples/fragment_test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
plugins {
id 'com.android.application' version '7.1.3' apply false
id 'com.android.library' version '7.1.3' apply false
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
}

allprojects {
repositories {
google()
mavenCentral()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
Expand Down
14 changes: 14 additions & 0 deletions examples/fragment_test/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
include ':app'
rootProject.name = "Fragment-Test"

0 comments on commit 2cbd0c0

Please sign in to comment.