当前位置: 首页 > news >正文

现在网站还用asp做wordpress自定义提醒用法

现在网站还用asp做,wordpress自定义提醒用法,定制logo,公众号开发合同模板Maven 镜像地址的设置 原来在项目根目录的 build.gradle 中进行设置,但是现在里面只有plugins。 工程的build.gradle的dependencies修改为plugins,替代了引用原来的Gradle版本。 // Top-level build file where you can add configuration options com…

Maven 镜像地址的设置

原来在项目根目录的 build.gradle 中进行设置,但是现在里面只有plugins。

 工程的build.gradle的dependencies修改为plugins,替代了引用原来的Gradle版本。

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {id 'com.android.application' version '7.4.2' apply falseid 'com.android.library' version '7.4.2' apply false
}

想使用旧的依旧可以在项目build.gradle里面按照原来方式添加,不影响旧方法。

buildscript {dependencies {classpath 'com.android.tools.build:gradle:4.1.0'classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"}
}

或者使用buildscript+plugins同时存在的模式,注意顺序不能错,否则会提示错误的

apply from 自定义配置清单还是能够使用

//注意 buildscript节点有可能没有 自己添加需要注意与plugins的顺序
buildscript {ext {kotlin_version = '1.6.10'}dependencies {classpath 'com.google.dagger:hilt-android-gradle-plugin:2.28-alpha'}
}
plugins {id 'com.android.application' version '7.1.1' apply falseid 'com.android.library' version '7.1.1' apply falseid 'org.jetbrains.kotlin.android' version '1.5.31' apply false
}
//apply from: "config.gradle"//自定义配置清单还是能够使用
task clean(type: Delete) {delete rootProject.buildDir
}

原来工程中 build.gradle 的buildscriptallprojects移动至setting.gradle

改名为pluginManagement 和dependencyResolutionManagement。里面的东西依旧可以按照原来的copy过来。

include 方法还是老样子

pluginManagement {repositories {// 国内镜像maven { url 'https://maven.aliyun.com/repository/google/' }maven { url 'https://maven.aliyun.com/repository/jcenter/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/central' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }google()mavenCentral()gradlePluginPortal()}
}
dependencyResolutionManagement {repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)repositories {// 国内镜像maven { url 'https://maven.aliyun.com/repository/google/' }maven { url 'https://maven.aliyun.com/repository/jcenter/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/central' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }google()mavenCentral()}
}
rootProject.name = "xxxxx"
include ':app'

APP项目下的 build.gradle

 原有的 apply plugin 变更为 plugins,其他的影响不大。

apply plugin: 'com.android.application'
plugins {id 'com.android.application'
}

 

 

http://www.yayakq.cn/news/830577/

相关文章:

  • iis7 静态网站深圳网站建设罗湖
  • 这几年做那个网站致富手机网站导航模板
  • 建一个网站的技术解决方案长春精神文明建设网站
  • 玉泉路网站建设询盘网站
  • 网站常见的域名网站建设有哪些问题
  • 工长网站开发自动编程软件
  • 同ip多域名做网站中国营销在线网
  • 做网站备案需要啥资料长沙做信息seo网站
  • 西安做网站公司云速郑州网站及优化
  • 网站开发学习方法wordpress 一键
  • 文创做的好的网站推荐十大代理记账公司
  • 网站建设运营银川网站设计公司
  • 手机端开发网站模板下载wordpress在服务器上安装插件
  • 杭州网络公司网站湖北网站建设
  • 东莞地产网站建设烟台网站seo
  • 苏州论坛型网站建设wordpress vantage
  • 新加坡二手手机网站大全网站后台添加新闻
  • 找公司做网站源代码给客户吗山东省建设工程信息网站
  • 公司网站展示有哪些网站建设企业排名推广
  • 做外贸网站需要什么条件wordpress 搬家 域名
  • 深圳市建设监理协会网站惠州百度seo在哪
  • 如何做网站 代码wordpress主题、
  • 什么网站可以在图片上做超链接婚庆公司排名前十
  • 淘宝客网站建设详细教程社区源码app
  • 做网站图片素材在线编辑美的企业微信网站
  • 网站的建设服务原创文字的网站
  • 网站开发与软件销售绵阳建设局网站
  • 北京旅游型网站建设贵州seo推广
  • 微信小程序 连接网站建站之星成品网站源码
  • python做网站 教育阳江招聘网最新消息