2 Star 0 Fork 0

17374609698/Robot-kinectic-beta

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 3.70 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* Copyright (C) 2014 Mike
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
//task wrapper(type: Wrapper) {
// gradleVersion = '2.2.3'
//}
buildscript {
// apply from: "https://github.com/rosjava/android_core/raw/kinetic/buildscript.gradle"
// 使用绝对路径
// apply from: "https://raw.githubusercontent.com/rosjava/android_core/kinetic/buildscript.gradle"
apply from: "E:\\Users\\tsome\\Programs\\repository\\rosjava\\android_core\\kinetic\\buildscript.gradle"
// 添加国内镜像源
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
mavenLocal()
mavenCentral()
google()
// jcenter()
maven { url "https://jitpack.io" }
jcenter(){url "http://jcenter.bintray.com/"}
}
dependencies {
//Add this to fix the gradle plugin issues
// classpath 'com.android.tools.build:gradle:1.5.0'
// 因为android studio版本太新,gradle强制更新为最低要求,所以插件最好也更新
classpath 'com.android.tools.build:gradle:4.2.2'
// TEST
classpath 'junit:junit:4.12'
classpath 'org.mockito:mockito-core:1.10.19'
}
}
apply plugin: 'catkin'
allprojects {
/* A github url provides a good standard unique name for your project */
group 'com.github.sccapstone.robotca'
//version = project.catkin.pkg.version
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
mavenLocal()
mavenCentral()
google()
//jcenter()
maven { url "https://jitpack.io" }
jcenter(){url "http://jcenter.bintray.com/"}
}
}
subprojects {
/*
* The android plugin configures a few things:
*
* - local deployment repository : where it dumps the jars and packaged artifacts)
* - local maven repositories : where it finds your locally installed/built artifacts)
* - external maven repositories : where it goes looking if it can't find dependencies locally
* - android build tools version : which version we use across the board
*
* To modify, or add repos to the default external maven repositories list, pull request against this code:
*
* https://github.com/rosjava/rosjava_bootstrap/blob/indigo/gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy#L31
*
* To modify the build tools version, pull request against this code:
*
* https://github.com/rosjava/rosjava_bootstrap/blob/indigo/gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosAndroid.groovy#L14
*/
apply plugin: 'ros-android'
afterEvaluate { project ->
android {
// Exclude a few files that are duplicated across our dependencies and
// prevent packaging Android applications.
packagingOptions {
exclude "META-INF/LICENSE.txt"
exclude "META-INF/NOTICE.txt"
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/tsome/robot-kinectic-beta.git
git@gitee.com:tsome/robot-kinectic-beta.git
tsome
robot-kinectic-beta
Robot-kinectic-beta
master

搜索帮助