Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed Oct 22, 2019
1 parent 5b5adde commit fc907aa
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 30 deletions.
29 changes: 18 additions & 11 deletions .rat-excludes
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
\.gitignore
\.git/.*
ios/playground
.rat-excludes
build
.*\.json
Info\.plist
.*\.xml
.*\.pch
main\.js
\./ios/playground/Pods/.*
index.js
array.js
dep.js
object.js
observer.js
state.js
watcher.js
WXDataStructureUtil.java
json11.cc
json11.hpp
modp_b64_data.h
modp_b64.cc
modp_b64.h
icu_utf.h
icu_utf.cpp
jni_generator.py
futex.h
base64.hpp
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Apache Incubator-Weex
Copyright 2019 Apache Weex (Incubating)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache Weex
Apache Weex (Incubating)
Copyright 2019 The Apache Software Foundation

This product includes software developed at
Expand Down
35 changes: 18 additions & 17 deletions android/sdk/buildSrc/jcenter.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
pkg {
repo = "Android"
repo = 'Android'
name = project.artifactName
websiteUrl = siteUrl
desc = description
Expand All @@ -81,22 +81,8 @@ artifacts {
archives sourcesJar
}

artifactory {
contextUrl = 'http://oss.jfrog.org/artifactory'
publish {
repository {
repoKey = 'oss-snapshot-local'
username = bintray.user
password = bintray.key
maven = true
}
defaults {
publications ('artifactorySnapthost')
}
}
}

artifactoryPublish.doFirst{
if (project.gradle.startParameter.taskNames.contains('artifactoryPublish') ||
project.gradle.startParameter.taskNames.contains(':weex_sdk:artifactoryPublish')) {
apply plugin: 'maven-publish'
publishing {
publications {
Expand All @@ -114,4 +100,19 @@ artifactoryPublish.doFirst{
}
}
}
}

artifactory {
contextUrl = 'http://oss.jfrog.org/artifactory'
publish {
repository {
repoKey = 'oss-snapshot-local'
username = bintray.user
password = bintray.key
maven = true
}
defaults {
publications ('artifactorySnapthost')
}
}
}
1 change: 1 addition & 0 deletions scripts/release_files.rules
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
+ /.eslintignore
+ /.babelrc
+ /src
+ /.rat-excludes
- /src/h5-render/dist/index.js
- /src/h5-render/node_modules
- /src/js-framework/node_modules
Expand Down

0 comments on commit fc907aa

Please sign in to comment.