Giter VIP home page Giter VIP logo

buildsrc's People

Contributors

tynn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

buildsrc's Issues

No support for dokka 1+

Dokka 1.4.0 was released in August 2020 with many improvements to the documentation engine (such as documentation for Java enum fields). Is there any chance this repo can support the later versions of dokka to take advantage of these improvements?

Can't resolve the source jar when using flavors library from remote maven repo(external library)

HI, Very glad to find this project, All works fine except can't resolve the source jar in Android Studio, after uploading source jar to remote maven repo by using id 'xyz.tynn.android.sources' version '0.1.2'

I can see that the source jar already on the remote repo, and the gradle meta module contains the source jar's config

 {
      "name": "flavor1ReleaseAllSourcesPublication",
      "attributes": {
        "App": "flavor1",
        "com.android.build.api.attributes.BuildTypeAttr": "release",
        "com.android.build.api.attributes.VariantAttr": "flavor1Release",
        "org.gradle.category": "documentation",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.docstype": "sources",
        "org.gradle.usage": "java-runtime"
      },
      "files": [
        {
          "name": "library-SNAPSHOT-flavor1Release-sources.jar",
          "url": "library-SNAPSHOT-flavor1Release-sources.jar",
          "size": 157715,
          "sha512": "de5726da59ea0d2df8bc5386e574270023727717ab01b8617e95ce620e29f9fb018323e248297368d7f3f5647aa79486d7b44cd26384f25d8f95806b260ba154",
          "sha256": "cc43d1929f2b45acc951a57589d3542e63086301d626a260b6c7ac99c36e82b3",
          "sha1": "94f8895c79c25cc8f5f4d3787a63fb9b27ffb5ae",
          "md5": "b32d84869d47cc80567523eb26b04fef"
        }
      ]
    },

But can't jump to the source code when click the class name, It jump to the decompiled code, not the source code

I don't know if there anything need to set-up as I am not familiar with these

"compileSdkVersion is not specified" after updating to 0.2.0

Following the fix for #1 , I updated my Android Library project to use plugin 0.2.0 (previously 1.2.0). I also updated the dokka plugin to 1.4.30 (up from 0.10.1). However, I now encounter the following error with evaluating the gradle build:

A problem occurred configuring project ':AndroidSDK'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
...
Caused by: com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
        at com.android.builder.errors.IssueReporter.reportError(IssueReporter.kt:107)
        at com.android.builder.errors.IssueReporter.reportError$default(IssueReporter.kt:103)
        at com.android.builder.errors.IssueReporter.reportError(IssueReporter.kt)
        at com.android.build.gradle.internal.plugins.BasePlugin.createAndroidTasks(BasePlugin.java:605)
        at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:69)
        ... 179 more

This happens even if I remove all of the configuration for tynn-xyz (the stuff like this):

if (it.name =~ /.*Kdoc$/) {
        it.configure {
            configuration {
...

and even if I leave the dokka plugin at 0.10.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.