GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — objectbox-java/objectbox-rxjava3/build.gradle at main · defuj/objectbox-java Expand file tree/ Copy pathbuild.gradleMore file actions 73 lines (63 loc) · 2.24 KB / Copy pathbuild.gradleFile metadata and controls73 lines (63 loc) · 2.24 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 buildscript { ext.javadocDir = file("$buildDir/docs/javadoc") } apply plugin: 'java-library' apply plugin: 'kotlin' apply plugin: 'org.jetbrains.dokka' // Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used. // https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation tasks.withType(JavaCompile) { options.release.set(8) } // Produce Java 8 byte code, would default to Java 6. tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions { jvmTarget = "1.8" } } tasks.named("dokkaHtml") { outputDirectory.set(javadocDir) dokkaSourceSets { configureEach { // Fix "Can't find node by signature": have to manually point to dependencies. // https://github.com/Kotlin/dokka/wiki/faq#dokka-complains-about-cant-find-node-by-signature- externalDocumentationLink { // Point to web javadoc for objectbox-java packages. url.set(new URL("https://objectbox.io/docfiles/java/current/")) // Note: Using JDK 9+ package-list is now called element-list. packageListUrl.set(new URL("https://objectbox.io/docfiles/java/current/element-list")) } } } } dependencies { api project(':objectbox-java') api 'io.reactivex.rxjava3:rxjava:3.0.11' compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation "junit:junit:$junit_version" testImplementation "org.mockito:mockito-core:$mockito_version" } task javadocJar(type: Jar) { dependsOn tasks.named("dokkaHtml") group = 'build' archiveClassifier.set('javadoc') from "$javadocDir" } task sourcesJar(type: Jar) { group = 'build' archiveClassifier.set('sources') from sourceSets.main.allSource } // Set project-specific properties. publishing.publications { mavenJava(MavenPublication) { from components.java artifact sourcesJar artifact javadocJar pom { name = 'ObjectBox RxJava 3 API' description = 'RxJava 3 extensions for ObjectBox' } } } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |