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-java/build.gradle at master · pushpen/objectbox-java Expand file tree/ Copy pathbuild.gradleMore file actions 106 lines (93 loc) · 3.16 KB / Copy pathbuild.gradleFile metadata and controls106 lines (93 loc) · 3.16 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 apply plugin: 'java' apply plugin: 'findbugs' targetCompatibility = '1.7' sourceCompatibility = '1.7' group = 'io.objectbox' version= rootProject.version tasks.withType(FindBugs) { reports { xml.enabled false html.enabled true } ignoreFailures = true } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile project(':objectbox-java-api') compile 'org.greenrobot:essentials:3.0.0-RC1' compile 'com.google.flatbuffers:flatbuffers-java:1.9.0' compile 'com.google.code.findbugs:jsr305:3.0.2' } javadoc { failOnError = false title = " ObjectBox Java ${version} API" options.bottom = 'Available under the Apache License, Version 2.0 - <i>Copyright © 2017 <a href="http://objectbox.io/">ObjectBox Ltd</a>. All Rights Reserved.</i>' exclude("**/com/google/**") exclude("**/io/objectbox/Cursor.java") exclude("**/io/objectbox/KeyValueCursor.java") exclude("**/io/objectbox/ModelBuilder.java") exclude("**/io/objectbox/Properties.java") exclude("**/io/objectbox/Transaction.java") exclude("**/io/objectbox/model/**") exclude("**/io/objectbox/ideasonly/**") exclude("**/io/objectbox/internal/**") exclude("**/io/objectbox/reactive/DataPublisherUtils.java") exclude("**/io/objectbox/reactive/WeakDataObserver.java") def srcApi = project(':objectbox-java-api').file('src/main/java/') if (!srcApi.directory) throw new GradleScriptException("Not a directory: ${srcApi}", null) source += srcApi doLast { copy { from '../javadoc-style' into "build/docs/javadoc/" } } } task javadocJar(type: Jar, dependsOn: javadoc) { classifier = 'javadoc' from 'build/docs/javadoc' } task sourcesJar(type: Jar) { from sourceSets.main.allSource classifier = 'sources' } artifacts { archives jar archives javadocJar archives sourcesJar } uploadArchives { repositories { mavenDeployer { // Basic definitions are defined in root project pom.project { name 'ObjectBox Java (only)' description 'ObjectBox is a fast NoSQL database for Objects' licenses { license { name 'The Apache Software License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' distribution 'repo' } } } } } } // this task is also used by the composite build ('objectbox-deploy'), check before making changes task verifyVersion { group 'verify' doLast { // verify version in Boxstore.java File storeFile = file('src/main/java/io/objectbox/BoxStore.java') def versionLine = storeFile.filterLine { line -> line.contains("String VERSION =") }.toString() if (versionLine == null || versionLine.empty) { throw new GradleException('Could not find VERSION in ObjectStore.cpp') } // matches snippet like '12.34.56' def boxStoreVersion = versionLine.find("\\d+\\.\\d+\\.\\d+") assert ob_expected_version == boxStoreVersion } } |
| 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. |