gradle

独立代码扫描,镜像自动化构建,敏捷项目管理 -- 百度效率云7月改版一览

一笑奈何 提交于 2020-04-14 00:25:20
【今日推荐】:为什么一到面试就懵逼!>>> 本文作者:francisk84 距离百度效率云正式发布已经2个多月,在这两个月的时间里,百度效率云又更新了一系列大的功能模块,借这次机会,正式向大家汇报一下百度效率云近期的产品迭代成果: 百度效率云入口 近期产品的重大更新: 1. 完善项目权限模型,项目间权限隔离 2. 代码扫描增加独立入口,不挂载流水线也可使用 3. 增加Docker镜像构建,镜像仓库 下面我就来为大家介绍一下以上几个升级点: 完善项目权限模型,项目间权限隔离: 在百度内部,项目空间、代码库和流水线是三套彼此独立的权限系统,用户可以同时拥有不同的项目和代码库的权限。 内部效率云的权限模型 但是,在服务外部客户的时候,尤其是和不同企业都有项目合作的业务形态下,客户需要一种更加集中式的权限管理,用以区分人员,代码库和信息的权限。引用开源界那本著名的书籍名称,我们把这两种权限模型称之为--"集市和大教堂" 集市与大教堂 因此我们重新梳理了权限模型,建立了以项目为授权基准,产品需求,代码库,流水线都包裹在项目内部。这样实现了项目间信息的隔离。现在用户进入到效率云的首页,首先看到的是有权限的项目列表,进入到项目内部,才能看到具体的功能组件 用户登录后首页 进入到项目后,才能看到具体的功能组件: 项目功能组件 项目的创建者可以在左下角的项目设置--

build.gradle is not part of the build defined by settings file

烈酒焚心 提交于 2020-04-13 17:21:05
问题 I'm trying to build a Gradle file and getting the error Build file '.../build.gradle' is not part of the build defined by settings file '.../settings.gradle'. If this is an unrelated build, it must have it's own settings file. Here is my build.gradle: buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.4.RELEASE") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'org.springframework

build.gradle is not part of the build defined by settings file

泄露秘密 提交于 2020-04-13 17:20:20
问题 I'm trying to build a Gradle file and getting the error Build file '.../build.gradle' is not part of the build defined by settings file '.../settings.gradle'. If this is an unrelated build, it must have it's own settings file. Here is my build.gradle: buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.4.RELEASE") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'org.springframework

Conflicting jetified-kotlin-reflect dependency

筅森魡賤 提交于 2020-04-13 16:56:13
问题 When I build my Android project, I get the following message: w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath: /home/janek/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.10/4d147bf43060dc43d61b096e24da1e67dfe0c032/kotlin-stdlib-jdk7-1.3.10.jar (version 1.3) /home/janek/.gradle/caches/transforms-1/files-1.1/kotlin-reflect-1.0.6.jar/beba9d201a205f30041b70982540014d/jetified-kotlin-reflect-1.0.6.jar

Conflicting jetified-kotlin-reflect dependency

孤街浪徒 提交于 2020-04-13 16:56:05
问题 When I build my Android project, I get the following message: w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath: /home/janek/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.10/4d147bf43060dc43d61b096e24da1e67dfe0c032/kotlin-stdlib-jdk7-1.3.10.jar (version 1.3) /home/janek/.gradle/caches/transforms-1/files-1.1/kotlin-reflect-1.0.6.jar/beba9d201a205f30041b70982540014d/jetified-kotlin-reflect-1.0.6.jar

KotlinJvmAndroidCompilation with name 'debug' not found

喜欢而已 提交于 2020-04-13 14:57:54
问题 I'm trying to update my project to the last gradle, v6.2.2, but I'm facing the next error: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > Cannot query the value of this provider because it has no value available. > KotlinJvmAndroidCompilation with name 'debug' not found. My project build.gradle is the next: buildscript { ext.gradleToolsVersion = '3.6.1' ext.kotlinVersion = "1.3.70" ext.googleServicesVersion = "4.3.3" ext

KotlinJvmAndroidCompilation with name 'debug' not found

徘徊边缘 提交于 2020-04-13 14:53:09
问题 I'm trying to update my project to the last gradle, v6.2.2, but I'm facing the next error: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > Cannot query the value of this provider because it has no value available. > KotlinJvmAndroidCompilation with name 'debug' not found. My project build.gradle is the next: buildscript { ext.gradleToolsVersion = '3.6.1' ext.kotlinVersion = "1.3.70" ext.googleServicesVersion = "4.3.3" ext

Can't use Firebase ads: No static method zzc(Landroid/os/Bundle;

﹥>﹥吖頭↗ 提交于 2020-04-13 06:07:11
问题 I'm trying to add the Firebase ads library to my project (which is already live), the build works but when i try to run it crashes with this error: 11-16 10:33:13.535 540-540/com.dap E/AndroidRuntime: FATAL EXCEPTION: main Process: com.dap, PID: 540 java.lang.NoSuchMethodError: No static method zzc(Landroid/os/Bundle;)Lcom/google/android/gms/measurement/internal/zzak; in class Lcom/google/android/gms/measurement/internal/zzak; or its super classes (declaration of 'com.google.android.gms

独立代码扫描,镜像自动化构建,敏捷项目管理 -- 百度效率云7月改版一览

老子叫甜甜 提交于 2020-04-13 02:39:59
本文作者:francisk84 距离百度效率云正式发布已经2个多月,在这两个月的时间里,百度效率云又更新了一系列大的功能模块,借这次机会,正式向大家汇报一下百度效率云近期的产品迭代成果: 百度效率云入口 近期产品的重大更新: 1. 完善项目权限模型,项目间权限隔离 2. 代码扫描增加独立入口,不挂载流水线也可使用 3. 增加Docker镜像构建,镜像仓库 下面我就来为大家介绍一下以上几个升级点: 完善项目权限模型,项目间权限隔离: 在百度内部,项目空间、代码库和流水线是三套彼此独立的权限系统,用户可以同时拥有不同的项目和代码库的权限。 内部效率云的权限模型 但是,在服务外部客户的时候,尤其是和不同企业都有项目合作的业务形态下,客户需要一种更加集中式的权限管理,用以区分人员,代码库和信息的权限。引用开源界那本著名的书籍名称,我们把这两种权限模型称之为--"集市和大教堂" 集市与大教堂 因此我们重新梳理了权限模型,建立了以项目为授权基准,产品需求,代码库,流水线都包裹在项目内部。这样实现了项目间信息的隔离。现在用户进入到效率云的首页,首先看到的是有权限的项目列表,进入到项目内部,才能看到具体的功能组件 用户登录后首页 进入到项目后,才能看到具体的功能组件: 项目功能组件 项目的创建者可以在左下角的项目设置-->权限设置页面里对用户进行授权和添加,目前项目权限分为三种: 管理员:

eclipse adt 搭建gradle的一些问题

我们两清 提交于 2020-04-12 17:39:14
一、国内封网,要设置gradle用代理(痛苦至极) gradle clean时会下载需要的文件,若用代理会导致失败 1.针对单个项目设置gradle代理 修改项目中的gradle.properties文件,增加配置项: systemProp.http.proxyHost=127.0.0.1 systemProp.http.proxyPort=10384 systemProp.https.proxyHost=127.0.0.1 systemProp.https.proxyPort=10384 2.如果想针对所有的gradle项目设置代理 可以在 GRADLE _USER_HOME下新建文件gradle.properties,然后设置代理。 GRADLE _USER_HOME的路径一般如下: /home/<username>/. gradle / (Linux) /Users/<username>/. gradle / (Mac) C:\Users\<username>\. gradle \ (Windows) 二、.gradle clean时出现版本不匹配错误 Error:Gradle version 1.10 is required. Current version is 2.9. If using the gradle wrapper, try editing the