Skip to content

Commit

Permalink
Merge pull request #1 from alibaba/publish_jitpack
Browse files Browse the repository at this point in the history
feat: publish jitpack config
  • Loading branch information
biezhihua authored Mar 11, 2022
2 parents 5d99b0d + 187b976 commit 6c0255f
Show file tree
Hide file tree
Showing 41 changed files with 86 additions and 94 deletions.
File renamed without changes.
84 changes: 84 additions & 0 deletions Android/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

allprojects {
repositories {
// The order in which you list these repositories matter.
google()
jcenter()
maven {
url "https://jitpack.io"
}
}
}

buildscript{
repositories{
google()
jcenter()
maven {
url "https://jitpack.io"
}
}

dependencies{
classpath "com.android.tools.build:gradle:7.0.2"
}
}

android {
compileSdk 32

defaultConfig {
minSdk 21
targetSdk 32
versionCode 1
versionName "0.1.0"

}


lintOptions {
abortOnError false
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}


// Because the components are created only during the afterEvaluate phase, you must
// configure your publications using the afterEvaluate() lifecycle method.
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.github.alibaba'
artifactId = 'gaia-motion-curve'
version = '0.1.0'
}
// Creates a Maven publication called “debug”.
debug(MavenPublication) {
// Applies the component for the debug build variant.
from components.debug

groupId = 'com.github.alibaba'
artifactId = 'gaia-motion-curve'
version = '0.1.0-DEV'
}
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "GaiaMotionCurve"
s.version = "0.1.0"
s.version = "0.1.1"
s.summary = "a library to solve the problems of high cost of developing dynamic effects and inconsistent effects and design expectations"
s.license = { :type => 'Apache License, Version 2.0' }
s.homepage = "https://github.com/alibaba/gaia-motion-curve"
Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/alibaba/gaia-motion-curve.git", :tag => s.version }


s.source_files = 'src/iOS/GaiaMotionCurve/**/*.{h,m,mm,c}'
s.source_files = 'iOS/GaiaMotionCurve/**/*.{h,m,mm,c}'
s.xcconfig = { "ENABLE_BITCODE" => "NO" }
s.requires_arc = true
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
92 changes: 0 additions & 92 deletions src/Android/build.gradle

This file was deleted.

0 comments on commit 6c0255f

Please sign in to comment.