Code Monkey home page Code Monkey logo

Comments (6)

twiceyuan avatar twiceyuan commented on May 28, 2024 2

在 build.gradle 配置这几个之后 JitPack 直接就会帮你打包并且引用依赖可以定位到相关 source

而且这样构建之后也会生成网页版的 API 文档 http://www.gcssloop.com/course/jitpack-sources-javadoc

from swipedelmenulayout.

mcxtzhang avatar mcxtzhang commented on May 28, 2024

谢谢你的建议,但还是想请教一些问题, 我看这里的两个task,最终会生成 一份源码的jar包 和一份 javadoc的jar包, 在引用项目时,要如何使用它们去查看源码呢? 用AS开发的话,compile 依赖以后,点击对应的文件 已经可以直接看到源码了呀。

from swipedelmenulayout.

xuejinwei avatar xuejinwei commented on May 28, 2024

是的,android studio compile的话,点击直文件就看到本来的.java文件,我看到的情况是只是多生成一个sources.jar 文件,javadoc的任务我也不知道是什么,看其他人项目中基本都是这样写的,每次就copy了,gradle语法不是很清楚,抱歉。昨天看到你的项目 源码注释写的横清楚,感觉不这样做浪费了

from swipedelmenulayout.

mcxtzhang avatar mcxtzhang commented on May 28, 2024

这个生成的jar包,要如何去使用呀。

from swipedelmenulayout.

mcxtzhang avatar mcxtzhang commented on May 28, 2024

我大致看了一下官方文档:
这些配置应该是要配合 uploadArchives 这个 task去使用的,

from swipedelmenulayout.

xuejinwei avatar xuejinwei commented on May 28, 2024

相关文档地址给我下,我没找到

from swipedelmenulayout.

Related Issues (20)

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.