Skip to content

Commit

Permalink
Gradle: switch to Maven Central, under group com.softbankrobotics.pddl
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Paleologue committed May 14, 2021
1 parent 6a22dea commit 2b9a85f
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 799 deletions.
32 changes: 9 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.10.1"

classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.10.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -20,32 +22,16 @@ allprojects {
google()
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

apply plugin: 'org.jetbrains.dokka'

dokka {
outputFormat = 'html'
outputDirectory = "$buildDir/javadoc"

subProjects = ["pddl-planning", "pddl-planning-test"]

configuration {
moduleName = "pddl-planning"
jdkVersion = 8
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}

task generateJavadocWebsiteZip(type: Zip, dependsOn: dokka) {
from dokka.outputDirectory
archiveClassifier.set("website")

archiveFileName = "javadoc-website.zip"
destinationDirectory = file("$buildDir/website")
task clean(type: Delete) {
delete rootProject.buildDir
}

static def getGitCommitHash() {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official

POM_GROUP_ID=com.softbankrobotics
GROUP=com.softbankrobotics.pddl
VERSION_NAME=1.4.0
36 changes: 0 additions & 36 deletions gradle/artifacts.gradle

This file was deleted.

9 changes: 0 additions & 9 deletions gradle/config/checkstyle/checkstyle.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions gradle/config/coverage/coverage.gradle

This file was deleted.

0 comments on commit 2b9a85f

Please sign in to comment.