build.gradle
// 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:8.1.4'
// Required plugins added to classpath to facilitate pushing to maven
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
// for publication to maven central via Sonatype nexus
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
id("org.jetbrains.dokka") version "1.4.32"
// git integration
id('org.ajoberstar.grgit') version '5.0.0'
}
apply from: "publish.gradle"
// Version number used for simpledialogfragments library, testApp and maven repository
ext {
VERSION = '3.8.3'
VERSION_NR = 383
}
allprojects {
repositories {
google()
mavenCentral()
}
}