// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.9.10' ext.dokka_version = '2.1.0' repositories { google() mavenCentral() maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:8.13.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath("org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } plugins { id('io.github.gradle-nexus.publish-plugin') version '1.2.0' } nexusPublishing { repositories { sonatype { nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) username = findProperty('ossrhUsername') password = findProperty('ossrhToken') stagingProfileId = '249512ad63057' } } } allprojects { repositories { google() mavenCentral() } }