Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.hannesa2:mechanoid:4.5'
}
dependencies {
implementation("com.github.hannesa2:mechanoid:4.5")
}
<dependency>
<groupId>com.github.hannesa2</groupId>
<artifactId>mechanoid</artifactId>
<version>4.5</version>
</dependency>
libraryDependencies += "com.github.hannesa2" % "mechanoid" % "4.5"
:dependencies [[com.github.hannesa2/mechanoid "4.5"]]
Mechanoid is an Eclipse Plugin sporting a set of code generators for Androidâ„¢ driven by Simple DSL's (Domain Specific Languages) with full Eclipse Editor Support for the rapid development of Android applications.
But since Android uses as IDE Intellij (Android Studio) the code generation doesn't work any more. But some old project still uses this generated code and have to fix some issues. Unfortunatelly the original maintainer seams to be not interesed any more.
This is the motivation for this fork
Here Room from Google is a modern replacement. -Deprecated-
Retrofit with Rx is a good replacement -Deprecated-
This is the part why I maintain this repo because I've no good replacement found. Any suggestion is welcome
-Deprecated-
Repository available on https://jitpack.io
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.hannesa2:mechanoid:3.1' // Support Lib
// or
implementation 'com.github.hannesa2:mechanoid:4.5' // Android X
}
Copyright 2013 Robotoworks Limited
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.
Copyright 2013 Robotoworks Limited
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html