[ 
https://issues.apache.org/jira/browse/SCB-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430294#comment-16430294
 ] 

ASF GitHub Bot commented on SCB-457:
------------------------------------

WillemJiang commented on a change in pull request #640: SCB-457 demostrate how 
to run bmi with gradle
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/640#discussion_r180030724
 
 

 ##########
 File path: samples/bmi/calculator/build.gradle
 ##########
 @@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+description = 'Java Chassis::Samples::BMI::Calculator'
+
+dependencies {
+    compile(group: 'org.springframework.boot', name: 'spring-boot-starter') {
+        exclude(module: 'commons-logging')
+    }
+    compile group: 'org.apache.servicecomb', name: 
'spring-boot-starter-provider'
+    compile group: 'org.apache.servicecomb', name: 'handler-flowcontrol-qps'
+    compile group: 'org.apache.servicecomb', name: 'handler-bizkeeper'
+    compile group: 'org.apache.servicecomb', name: 'handler-tracing-zipkin'
+}
+
+buildscript {
+    dependencies {
+        
classpath('io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE')
+    }
+    repositories {
+        mavenLocal()
+        mavenCentral()
+    }
+}
+
+apply plugin: 'io.spring.dependency-management'
+
+dependencyManagement {
 
 Review comment:
   Can you add some comment for it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Verify if gradle can manage the ServiceComb java Chassis jars in a remote or 
> local maven repository
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SCB-457
>                 URL: https://issues.apache.org/jira/browse/SCB-457
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: Minzhi Yan
>            Assignee: Eric Lee
>            Priority: Major
>
> Verify if gradle can manage the ServiceComb java Chassis jars in a remote or 
> local maven repository, and provide the document on how to use Java Chassis 
> with gradle in the ServiceComb website.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to