Skip to content

Commit

Permalink
fix: Gradle 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
cometj03 committed Nov 25, 2022
1 parent ce70744 commit 9a17fc0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 33 deletions.
52 changes: 26 additions & 26 deletions ComposeTimeTable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ plugins {
id 'kotlin-android'
id 'maven-publish'
}
//
//afterEvaluate {
// publishing {
// publications {
// // Creates a Maven publication called "release".
// release(MavenPublication) {
// // Applies the component for the release build variant.
// from components.release
//
// // You can then customize attributes of the publication as shown below.
// groupId = 'com.cometj03.compose-timetable'
// artifactId = 'final'
// version = '0.0.1'
// }
// // Creates a Maven publication called “debug”.
// debug(MavenPublication) {
// // Applies the component for the debug build variant.
// from components.debug
//
// groupId = 'com.cometj03.compose-timetable'
// artifactId = 'final-debug'
// version = '0.0.1'
// }
// }
// }
//}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.cometj03.compose-timetable'
artifactId = 'final'
version = '0.0.1'
}
// Creates a Maven publication called “debug”.
debug(MavenPublication) {
// Applies the component for the debug build variant.
from components.debug

groupId = 'com.cometj03.compose-timetable'
artifactId = 'final-debug'
version = '0.0.1'
}
}
}
}

android {
namespace 'com.cometj03.composetimetable'
Expand Down
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ plugins {
id 'com.android.application' version '7.3.1' apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}

allprojects {
repositories {
google()
mavenCentral()
}
}
14 changes: 7 additions & 7 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ pluginManagement {
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
//dependencyResolutionManagement {
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
// repositories {
// google()
// mavenCentral()
// }
//}
rootProject.name = "ComposeTimeTable"
include ':ComposeTimeTable'

0 comments on commit 9a17fc0

Please sign in to comment.