File tree Expand file tree Collapse file tree 5 files changed +24
-57
lines changed
Expand file tree Collapse file tree 5 files changed +24
-57
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- plugins {
18- id ' com.android.application' version " 8.1.1" apply false
19- id ' com.android.library' version " 8.1.1" apply false
20- id ' org.jetbrains.kotlin.android' version " 1.9.10" apply false
17+ buildscript {
18+ repositories {
19+ google()
20+ mavenCentral()
21+ }
22+ dependencies {
23+ classpath " com.android.tools.build:gradle:8.1.1"
24+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10"
25+ }
2126}
2227
23- task clean (type : Delete ) {
24- delete rootProject. buildDir
28+ subprojects {
29+ repositories {
30+ google()
31+ mavenCentral()
32+ }
2533}
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- pluginManagement {
18- repositories {
19- gradlePluginPortal()
20- google()
21- mavenCentral()
22- }
23- }
24- dependencyResolutionManagement {
25- repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
26- repositories {
27- google()
28- mavenCentral()
29- }
30- }
3117rootProject. name = " Reply"
3218include ' :app'
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16+ buildscript {
17+ repositories {
18+ google()
19+ mavenCentral()
20+ }
21+ dependencies {
22+ classpath " com.android.tools.build:gradle:8.1.1"
23+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10"
24+ }
25+ }
1626
1727plugins {
18- id ' com.android.application' version ' 8.1.1' apply false
19- id ' com.android.library' version ' 8.1.1' apply false
20- id ' org.jetbrains.kotlin.android' version ' 1.9.10' apply false
2128 id ' com.diffplug.spotless' version ' 6.21.0'
2229}
2330
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- pluginManagement {
17- repositories {
18- gradlePluginPortal()
19- google()
20- mavenCentral()
21- }
22- }
23- dependencyResolutionManagement {
24- repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
25- repositories {
26- google()
27- mavenCentral()
28- }
29- }
3016rootProject. name = " MySoothe"
3117include ' :app'
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- val snapshotVersion : String? = System .getenv(" COMPOSE_SNAPSHOT_ID" )
1716
18- pluginManagement {
19- repositories {
20- gradlePluginPortal()
21- google()
22- mavenCentral()
23- }
24- }
25- dependencyResolutionManagement {
26- repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
27- repositories {
28- snapshotVersion?.let {
29- println (" https://androidx.dev/snapshots/builds/$it /artifacts/repository/" )
30- maven { url = uri(" https://androidx.dev/snapshots/builds/$it /artifacts/repository/" ) }
31- }
32-
33- google()
34- mavenCentral()
35- }
36- }
3717rootProject.name = " Reply"
3818include(" :app" )
You can’t perform that action at this time.
0 commit comments