ICode9

精准搜索请尝试: 精确搜索
  • 安卓buildscript和allprojects的作用和区别2022-08-25 23:02:19

    buildscript中的repositories和allprojects的repositories的作用和区别1、 buildscript里是gradle脚本执行所需依赖,分别是对应的maven库和插件。在打包的时候,gradle会使用其中的task进行构建,但是你自己开发并不会用其中的东西,2、 allprojects里是项目本身需要的依赖,如添加maven {u

  • 新建安卓项目中的各种问题2022-08-24 11:03:19

    1setting.gradle pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories {

  • Gradle7.3配置Android-pickerView2022-08-02 00:03:35

    Gradle7升级之后,按之前的方式来配置android-pickerView是不行的,运行直接报错。 为了方便在这里记录一下自己的配置过程,因为这个配置修改我也是折腾了好久之后才解决了。 找到配置文件 settings.gradle文件 将下面这一部分拷贝下去: maven{url 'https://maven.aliyun.com/nexus/con

  • IDEA& Android Studio 配置2022-06-10 11:33:26

    1.配置环境 首先要安装好JDK,但不需要单独下载SDK,只需在IDEA或AS的"设置->外观与行为->->系统设置->Android SDK"中下载相应版本即可(可以下载多个,不会冲突),然后在"设置->项目结构"中即可配置SDK 2.gradle同步失败: 失败原因是网络不畅,解决办法为修改build.gradle(工程里是有

  • gradle:secure protocol (like HTTPS) or allow insecure protocols2022-05-19 11:00:26

    最近在编译cruise-control-2.5.92,gradle提示 Using insecure protocols with repositories, without explicit opt-in, has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'm aven(http://maven.aliyun.com/nexus/content/groups

  • maven本地仓库有相应的依赖,依旧会从远程仓库拉取问题的原因及解决2022-05-18 18:32:49

    请打开你自己的本地仓库,对应依赖路径下的_remote.repositories文件。如果是从远程仓库拉取的,这里一般是显示这个: junit-4.12.jar>alimaven= junit-4.12.pom>alimaven= 这个说明是从阿里云远程仓库拉取的代码由于这里的配置,使得你每次下载,他都会优先从阿里云远程仓库拉代码,而不是

  • gitlab11仓库迁移2022-04-27 15:00:07

    迁移的版本要一致 1 备份的gitlab服务器,吧repositories下的目录全部打包 /var/opt/gitlab/git-data/repositories   2  恢复的gitlab服务器,吧打包目录解压放在repositories下 /var/opt/gitlab/git-data/repositories   3 cd进入/var/opt/gitlab/git-data/repositories下 chmod

  • maven阿里云仓库镜像2022-04-21 12:02:13

    <!-- 阿里云仓库 -->     <mirror>         <id>alimaven</id>         <mirrorOf>central</mirrorOf>         <name>aliyun maven</name>         <url>http://maven.aliyun.com/nexus/content/repositories/central/<

  • Could not resolve all dependencies for configuration ‘:classpath‘.2022-02-21 22:34:59

    问题:   每次拉取其它分支,上图中红框中文件就会消失,启动项目,报错: A problem occurred configuring root project 'project_name'. > Could not resolve all dependencies for configuration ':classpath'.    > Using insecure protocols with repositories, without explic

  • idea使用maven加载jar包报错2022-01-20 21:31:16

    报错信息如下: Blocked mirror for repositories: [getui-nexus (http://mvn.gt.igexin.com/nexus/content/repositories/releases/, default, releases+snapshots), central (http://repo1.maven.org/maven2, default, releases)] Since Maven 3.8.1 http repositories are bloc

  • 【无标题】2021-12-22 09:58:31

    记一次内网中使用maven遇到的问题 问题描述解决方法 问题描述 新加入了一个spring+maven的项目组,由于项目是在内网中进行开发,maven无法连接中央仓库进行下载。使用maven的install-file命令也无法将jar包导入本地仓库中。但是好在项目组中其他人是有本地仓库的。所以我将

  • Composer Your requirements could not be resolved to an installable set of packages2021-12-13 19:33:11

      Composer install 时候报错: Composer update 时候报错: Your requirements could not be resolved to an installable set of packages Problem 1 Root composer json requires topthink/framework 5 1.*, found topthink/framework [v5. 1. 41] in the lock file but not in

  • gradle不安全连接问题2021-11-14 16:04:42

    使用 allowInsecureProtocol 属性解决 gradle 的仓库地址不安全警告 在 IDEA 的 Terminal 中使用命令 gradlew --warning-mode all 可以打印出当前 gradle 存在的所有警告信息 正文 如果有报以下警告: Using insecure protocols with repositories, without explicit opt-in, has

  • C++学习(四一二)gradle的buildscript allprojects2021-11-12 21:02:40

    1、 buildscript里是gradle脚本执行所需依赖,分别是对应的maven库和插件 2、 allprojects里是项目本身需要的依赖,比如我现在要依赖我自己maven库的toastutils库,那么我应该将maven {url 'https://dl.bintray.com/calvinning/maven'}写在这里,而不是buildscript中,不然找不到。 bui

  • idea插件lombok2021-11-09 15:02:04

    网上很多是这样说的: 点击File -> 点击Setting -> plugins -> browes repositories -> 搜索lombok并install 但2019后的idea版本没有browes repositories这个东西,2019后的版本要在marketplace里搜索下载。 那么首先:下载  下载之后先不要重启  把4那个地方点上√    然后点

  • Build was configured to prefer settings repositories over project repositories but repository ‘Gradl2021-11-08 09:05:04

    Build was configured to prefer settings repositories over project repositories but repository ‘Gradle Libs’ was added by unknown code 文章目录 Build was configured to prefer settings repositories over project repositories but repository 'Gradle Libs�

  • Maven - <repositories>配置中央仓库2021-08-21 01:01:46

    repositories节点是配置maven下载jar的中央仓库,默认的是国外的, <repositories> <repository> <id>springsource-milestones</id> <name>SpringSource Milestones Proxy</name> <url>https://oss.sonat

  • Ubuntu下使用git2021-07-10 10:53:06

    1. 安装 apt-get install git 2. cd /home/llx下建立一个目录 mkdir Repositories,然后cd Repositories进入刚才的目录,执行git init把此目录设置为版本库3. 把要管理的源码全部拷贝到Repositories目录,并使用git add . 全部添加到版本管理,并使用git commit -m "备注信息"提交4. 使用

  • docker私有仓库harbor配置helm chart仓库(安装helm chart插件)2021-07-05 17:58:49

    harbor配置helm chart仓库 1、harbor 安装的时候 默认没有helm charts的仓库,如果已经安装过重新执行安装即可,不需要prepare docker-compose stop ./install.sh --with-chartmuseum安装完成之后登录页面上就会有了 helm charts 了,页面上也可以直接上传charts 2、helm 需要安装插件

  • centos 8.3 svn版本库搭建2021-06-09 14:55:56

    简介     commandline client app通过命令行处理svn:通过命令行调用svn客户端的库,以这种方式连接svn,大家都通过client Libarary的工作拷贝管理库(working copy management libary),无论通过GUI或者客户端管理都要通过这个库,最终连到svn服务器 提交svn的三种方式:http方式:apache通过调

  • 最新版本maven引发的血案2021-05-23 11:33:29

    2021年4月4日,apache maven发布自己的3.8.1版本; 2021年5月20日,一个倒霉蛋入职新公司,直接下载安装了最新版本的maven,在入职的第一天,开启了自己的折磨之旅。 出现的问题 公司存在online和offline两套maven配置,因为部门存在一些snapshot包的缘故,使用的是offline配置的那套setting

  • SVN服务器搭建、备份及多服务器同步方案(Windows)2021-04-25 11:01:37

    2017年12月16日Git, SVN Standard Views: 2,113 虽然Git比SVN强大,已经统治了代码管理领域,但Git是具有一定门槛的,对非开发者来说并不那么友好。相对来说,SVN虽然功能没那么强悍,但是服务端搭建简单、客户端操作门槛低,文件管理对大多数普通用户来说已经够用,因此还是有一定的生存空

  • Global Search file content in Gitlab repositories, search across repositories, search across all fil2021-03-17 13:03:43

    How Global Search file content in Gitlab repositories(search across repositories)? There is an existing answer to it, we can file the source code here  https://github.com/phillipj/gitlab-search Yes, that's a Gitlab solution sit in Github :-)    maybe

  • 如果 gradle 找不到包,或包下载的特别慢,请看下面的内容2021-03-13 20:01:27

    修改 gradle 的源 在gradle 的目录下找到 init.d 的文件平,下面失一个文件 init.gradle ,输入以下的内容 allprojects { repositories { mavenLocal() mavenCentral() jcenter() maven { url 'http://maven.aliyun.com/nexus/content/repositories/cen

  • Gradle仓库2021-03-04 11:58:15

    什么是Maven仓库 在不用Maven的时候,比如说以前我们用Ant构建项目,在项目目录下,往往会看到一个名为/lib的子目录,那里存放着各类第三方依赖jar文件,如log4j.jar,junit.jar等等。每建立一个项目,你都需要建立这样的一个/lib目录,然后复制一对jar文件,这是很明显的重复。重复永远是噩梦

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有