GithubHelp home page GithubHelp logo

leifzhang / gradlesample Goto Github PK

View Code? Open in Web Editor NEW
142.0 142.0 12.0 431 KB

gradle repo includeBuild

License: Apache License 2.0

Kotlin 66.56% Java 33.44%
composebuilding gradle includebuilding settings

gradlesample's Introduction

Profile views

LeifZhang's github stats

Top Langs

乞讨模式

15801995859

gradlesample's People

Contributors

leifzhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gradlesample's Issues

编译报错

Unable to load class 'org.gradle.kotlin.dsl.provider.KotlinDslPluginSupport'.

This is an unexpected error. Please file a bug containing the idea.log file.

在代码中获取ConfigurableFileCollection

仿照博主的PluginsVersionPlugin写法,我想把catalog直接在setting初始化的时候添加进去,但是有个方法files()一直没有找到可以代替的,不知道博主了解吗?
files_wrong

编译OK,但是跑起来的时候,会报错,提示 > Could not resolve com.google.code.gson:gson:2.10.

测试中,用了这个库 com.google.code.gson:gson:2.10

  1. 本地提前include 一个 group = com.google.code.gson, moduleName = gson 的模块,
  2. 不过这个库仅仅有一个 Gson 类,而且也只有一个函数, toJson()
  3. 使用的地方,也仅仅使用了 Gson.toJson() 函数。
  4. 看了下插件,是调用了 depend.useTarget 的了。

error msg:

Could not resolve com.google.code.gson:gson:2.10.
Required by:
project :app
> No matching configuration of project :gson was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.2.2', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.

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.